Get Commit Diff
Get the diff for a commit, optionally relative to a specific base commit. Repeated path parameters narrow the diff to selected files or directories.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Repository name. Names that contain / or any other character that is not safe in a URL path segment must be URL encoded so the value occupies a single path segment. For example pierre/example is sent as pierre%2Fexample. Plain names such as example can be sent as-is. The server URL-decodes the value before resolving the repository.
Query Parameters
Commit SHA to diff.
Optional base commit SHA to diff against. When omitted, the diff is generated against the commit's parent.
Optional repeated path filter. Provide multiple path query values to restrict the diff to specific files or directories.
Response
Full diff for the requested commit, including file-level stats and line-level hunks.
Diff for a single commit, including aggregate stats and per-file changes.
Files returned with inline diff content.
Files filtered out of inline diff output because of size or file-type rules.
The commit SHA to diff.
"b003fc78805954584e1ee364a4ad39d7c79e819a"
Aggregate diff statistics.