Get a list of all commits from a repository
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Owner of the repo
Name of the repo
Query Parameters
Section titled “ Query Parameters ”SHA or branch to start listing commits from (usually ‘master’)
Filepath of a file/dir
Include diff stats for every commit (disable for speedup, default ‘true’)
Include verification for every commit (disable for speedup, default ‘true’)
Include a list of affected files for every commit (disable for speedup, default ‘true’)
Page number of results to return (1-based)
Page size of results
Commits that match the given specifier will not be listed.
Responses
Section titled “ Responses ”CommitList
object
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
object
object
object
object
PayloadCommitVerification represents the GPG verification of a commit
object
PayloadUser represents the author or committer of a commit
object
Full name of the commit author
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
CommitAffectedFiles store information about files affected by the commit
object
object
CommitStats is statistics for a RepoCommit
object
Example
[ { "author": { "login_name": "empty" }, "committer": { "login_name": "empty" } }]APINotFound is a not found error response
object
Example generated
{ "errors": [ "example" ], "message": "example", "url": "example"}EmptyRepository
APIError is an api error with a message
object
Example generated
{ "message": "example", "url": "example"}