Repository Content Comparison
Compare two refs (commit/branch/workspace/tag/tree) in this repo
GET
/
repos
/
{repo_id}
/
compare
Authorizations
Authorization
string
headerrequiredThis API uses OAuth 2 with the implicit grant flow
Path Parameters
repo_id
string
requiredThe 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.
Query Parameters
base_id
string
default: 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.
other_id
string
A reference to a source version from which changes will be taken
Response
200 - application/json
object
enum<string>
requiredAvailable options:
ComparisonItem
items
object[]
requiredcascaded_changes_count
integer
requiredNumber of cascaded changes, for insight of total compare size