Retrieves a specific commit by hash, tag, or "latest" for a repository. This endpoint supports both authenticated and unauthenticated access. Authenticated users can access private repos, while unauthenticated users can only access public repos. Commit resolution logic:
retrieve(
commit: string,
params: CommitRetrieveParams,
options: RequestOptions
): APIPromise<CommitRetrieveResponse>| Name | Type | Description |
|---|---|---|
commit* | string | |
params* | CommitRetrieveParams | |
options | RequestOptions |