Skip to main content
GET
/
{org}
/
{repo}
/
diff
Get diff
curl --request GET \
  --url https://staging.depot.mesa.dev/{org}/{repo}/diff \
  --header 'Authorization: Bearer <token>'
{
  "base": "<string>",
  "head": "<string>",
  "stats": {
    "files": 123,
    "additions": 123,
    "deletions": 123,
    "changes": 123
  },
  "files": [
    {
      "path": "<string>",
      "status": "A",
      "old_path": "<string>",
      "bytes": 123,
      "is_eof": true,
      "raw": "<string>"
    }
  ],
  "filtered_files": [
    {
      "path": "<string>",
      "status": "A",
      "old_path": "<string>",
      "bytes": 123,
      "is_eof": 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

base
string
required
Minimum string length: 1
head
string
required
Minimum string length: 1

Response

Diff response

base
string
required
head
string
required
stats
object
required
files
object[]
required
filtered_files
object[]
required