Skip to main content
GET
/
{org}
/
{repo}
/
changes
/
{change_id}
Get change
curl --request GET \
  --url https://api.mesa.dev/v1/{org}/{repo}/changes/{change_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "current_commit_oid": "<string>",
  "is_conflicted": true,
  "message": "<string>",
  "author": {
    "name": "<string>",
    "email": "jsmith@example.com",
    "date": "2023-11-07T05:31:56Z"
  },
  "committer": {
    "name": "<string>",
    "email": "jsmith@example.com",
    "date": "2023-11-07T05:31:56Z"
  },
  "parents": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "files": [
    "<string>"
  ],
  "conflicts": [
    "<string>"
  ]
}
Required scope: read

Authorizations

Authorization
string
header
required

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

Path Parameters

org
string
required

Organization slug

Minimum string length: 1
repo
string
required

Repository name

Minimum string length: 1
change_id
string
required
Pattern: ^[zyxwvutsrqponmlk]{32}$

Response

Change

id
string
required
Pattern: ^[zyxwvutsrqponmlk]{32}$
current_commit_oid
string
required
Pattern: ^[0-9a-f]{40}$
is_conflicted
boolean
required

True when the change current commit still contains unresolved conflicts

message
string
required

Current change description. Empty string means the change has no description.

author
object
required
committer
object
required
parents
string[]
required

Parent change IDs for this change

created_at
string<date-time>
required
updated_at
string<date-time>
required
files
string[]
required
conflicts
string[]
required