Repository Content Comparison
Compare two refs (commit/branch/workspace/tag/tree) in this repo
GET
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128
Example:
"example_id"
Query Parameters
A workspace_id, branch_id, commit_id or tag_id. If omitted, assuming the empty tree, unless other_id is a workspace, in which case base_id is assumed to be the workspace base ref.
Maximum length:
128
A reference to a source version from which changes will be taken
Required string length:
3 - 128
Example:
"example_id"
Response
200 - application/json
A list of tree comparison objects
Available options:
ComparisonItem
Describes a comparison result at a single path. At least one of base/other items must be present.
Number of cascaded changes, for insight of total compare size