List a Repository's Commits
GET /api/0/organizations/{organization_id_or_slug}/repos/{repo_id}/commits/
List a Repository's Commits
Path Parameters
organization_id_or_slug
(string)REQUIREDThe ID or slug of the organization the resource belongs to.
repo_id
(string)REQUIREDThe repository ID.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:org:admin
org:read
org:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/repos/{repo_id}/commits/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied[ { "dateCreated": "2018-11-06T21:19:58.536Z", "id": "acbafc639127fd89d10f474520104517ff1d709e", "message": "Initial commit from Create Next App", "suspectCommitType": "", "pullRequest": null } ]
Was this helpful?