Skip to main content
GET
Show what data-model git commits on a branch changed (git diff of commits)
toCommit alone diffs that commit against its first parent, fromCommit and toCommit diff the range, and fromCommit alone diffs it against the branch tip. Both must be in the branch’s history.

Authorizations

Authorization
string
header
required

Token authentication. Send Authorization: Bearer <YOUR_TOKEN>.

Path Parameters

deploymentId
integer
required

Query Parameters

branchName
string

The branch whose history to read; the deploy branch when omitted.

fromCommit
string

Full or abbreviated SHA of the left side.

toCommit
string

Full or abbreviated SHA of the right side.

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
branchName
string
required
deletions
number
required
diff
string
required
diffTruncated
boolean
required
files
object[]
required
fromCommit
string
required
insertions
number
required
toCommit
string
required
diffOmittedReason
string | null
totalFiles
number | null