Repositories
Get a single commit
Get details for a single commit. Set Accept header to application/vnd.gogs.sha to return only the full commit ID of a commit reference.
get/repos/{owner}/{repo}/commits/{sha}
Request
- Base URLhttps://gogs.example.com/api/v1
- AuthAPI key in header Authorization
Path parameters
ownerstring required
Repository owner
repostring required
Repository name
shastring required
Commit SHA
Response
Success
Changes
No recorded changes to this operation across all 3 revisions of this API.