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

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
sha
string
required
Minimum string length: 1

Response

Commit

sha
string
required
message
string
required
author
object
required
committer
object
required