List a Repository's Commits

GET /api/0/organizations/{organization_slug}/repos/{repo_id}/commits/

Return a list of commits for a given repository.

Path Parameters

organization_slug (string)
REQUIRED

The organization short name.

repo_id (string)
REQUIRED

The repository ID.

Scopes

<auth_token> requires one of the following scopes:
  • org: read
curl https://sentry.io/api/0/organizations/{organization_slug}/repos/{repo_id}/commits/ \
 -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
[
  {
    "dateCreated": "2018-11-06T21:19:58.536Z",
    "id": "acbafc639127fd89d10f474520104517ff1d709e",
    "message": "Initial commit from Create Next App"
  }
]