Compare branches
GET https://{{base_url}}/v3/stacks/branches_compare?compare_branch=redesign
The Compare branches request returns a list of all the differences between two branches.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Compare branches API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
base_branch | string | The basis on which comparison is done. If kept empty, the source branch of the compare branch is considered by default. | |
compare_branch | string | Enter the branch you want to compare with the base branch. | |
skip | number | Enter the number of branches to be skipped from the response body. | |
limit | number | Enter the maximum number of branches compare result to be returned. The default limit is set at 100. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | Enter the API key of the stack. | |
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string |