Skip to main content
GET
/
{org}
/
{repo}
/
commits
List commits
curl --request GET \
  --url https://staging.depot.mesa.dev/{org}/{repo}/commits \
  --header 'Authorization: Bearer <token>'
{
  "commits": [
    {
      "sha": "<string>",
      "message": "<string>",
      "author": {
        "name": "<string>",
        "email": "[email protected]",
        "date": "<string>"
      },
      "committer": {
        "name": "<string>",
        "email": "[email protected]",
        "date": "<string>"
      }
    }
  ],
  "next_cursor": "<string>",
  "has_more": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org
string
required
Minimum string length: 1
repo
string
required
Minimum string length: 1

Query Parameters

cursor
string
limit
integer
Required range: 1 <= x <= 100
ref
string

Response

Commit list

commits
object[]
required
next_cursor
string | null
required
has_more
boolean
required