Get diff between two commits
Git
Get diff between two commits
Returns a structured diff between two git refs using a two-dot comparison. See git-diff for details.
GET
Get diff between two commits
Authorizations
Bearer authentication header of the form Bearer <token>. The token may be a Sourcebot API key, OAuth access token, or scoped access token, subject to endpoint requirements.
Query Parameters
The fully-qualified repository name.
The base git ref (branch, tag, or commit SHA) to diff from.
The head git ref (branch, tag, or commit SHA) to diff to.
Restrict the diff to changes touching this file path. Omit to diff all changes between the two refs.
Response
Structured diff between the two refs.
The list of changed files.

