Skip to main content
GET
Get diff
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

Query Parameters

base_change_id
string
required

Base change id for the diff. Use the virtual root change id (zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz) to diff from the empty tree.

Pattern: ^[zyxwvutsrqponmlk]{32}$
head_change_id
string
required

Head change id for the diff. Use the virtual root change id (zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz) to diff against the empty tree.

Pattern: ^[zyxwvutsrqponmlk]{32}$
conflicts
enum<string>
default:include
Available options:
include,
only,
exclude

Response

Diff response

base_change_id
string
required
Pattern: ^[zyxwvutsrqponmlk]{32}$
head_change_id
string
required
Pattern: ^[zyxwvutsrqponmlk]{32}$
stats
object
required
truncated
boolean
required

True when the response hit the server entry limit and is incomplete

entries
object[]
required

Changed entries only. Unchanged paths are omitted from this list

conflicted_entries
object[]
required