Skip to main content
GET
GetDiffByCommit

Authorizations

Authorization
string
header
required

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

Path Parameters

commit_sha
string
required

Commit SHA. Accepts either the full 40-char hex hash or any unique hex prefix of at least 7 characters (server resolves the prefix against stored commits, like git rev-parse <prefix>). Ambiguous or unmatched prefixes return an empty diff rather than an error.

Required string length: 7 - 40
Pattern: ^[0-9a-fA-F]+$

Query Parameters

limitToFiles
string[]

Response

200 - application/json

Success

commitDiff
CommitDiff · object | null