repository

Get Commit

get/api/repos/{namespace}/{repository}/commits/{oid}

Request

Path parameters

namespacestring required

Repository namespace (user or organization)

repositorystring required

Repository name

oidstring required

Full or abbreviated commit SHA-1

Response

Commit detail with structured diff

branchstring nullable

Short branch name that contains this commit, if any

Changes

No recorded changes to this operation across all 10 revisions of this API.