Repositories
List all commits
Returns commits from the HEAD of the default branch.
get/repos/{owner}/{repo}/commits
Request
- Base URLhttps://gogs.example.com/api/v1
- AuthAPI key in header Authorization
Path parameters
ownerstring required
Owner of the repository
repostring required
Name of the repository
Query parameters
pageSizeinteger
Number of commits to return
Response
Success
Changes
No recorded changes to this operation across all 3 revisions of this API.