Repositories

Get a single commit

Get details for a single commit. Set Accept header to application/vnd.gogs.sha to return only the SHA-1 hash of a commit reference.

get/repos/{owner}/{repo}/commits/{sha}

Path parameters

ownerstring required

Repository owner

repostring required

Repository name

shastring required

Commit SHA

Response

Success

urlstring
shastring
html_urlstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.