Skip to content
AnyMeta.
AnyMetaGitHubCommits

List repository commits

Lists public repository commits with branch, path, author, committer, and time filters.

GET/github/repos/{owner}/{repo}/commitsNo authentication required
Upstream documentation

Path parameters2

Path parameters
NameTypeDescription
owner*string

The repository owner login. The value is case-insensitive.

repo*string

The repository name without the .git suffix. The value is case-insensitive.

Query parameters8

Query parameters
NameTypeDescription
shastring

A branch, tag, or commit to start listing from.

pathstring

Only commits affecting this path.

authorstring

Commit author username or email.

committerstring

Committer username or email.

sincestring

Only results after this ISO 8601 timestamp.

untilstring

Only commits before this ISO 8601 timestamp.

per_pageinteger

The number of results to return per page.

Default:30

Minimum: 1Maximum: 100
pageinteger

The page number to fetch.

Default:1

Minimum: 1

Headers2

Headers
NameTypeDescription
If-None-Matchstring

An ETag for conditional requests.

If-Modified-Sincestring

An HTTP date for conditional requests.

Responses

application/json
SchemaGithubCommit[]
Array itemobject
Additional properties are allowed

The original GitHub response.