Skip to main content
GET
Show what a data-model branch changed against its base (git diff of branches)
The committed changes on branchName since it forked from baseBranch, which defaults to its parent branch, else the deploy branch.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
integer
required

Query Parameters

branchName
string
required

The branch whose changes to show.

baseBranch
string

The branch to compare against.

maxDiffBytes
integer

Cuts the unified diff at this many bytes (default 12000); diffTruncated says when. A diff of many files can still be large: narrow it to a commit or a file first.

maxFiles
integer

Lists at most this many changed files (default 50); totalFiles says how many there were when the list is cut. insertions and deletions always cover the whole change.

Required range: x >= 1

Response

200 - application/json
baseBranch
string
required
baseRef
string
required
branchName
string
required
deletions
number
required
diff
string
required
diffTruncated
boolean
required
files
object[]
required
insertions
number
required
usedMergeBase
boolean
required
diffOmittedReason
string | null
totalFiles
number | null