younifyd
Menu

Comparebranches

Compare branches

GET/v3/stacks/branches_compare

Use it in a workflow

  1. Add a step and choose the Contentstack connector.
  2. Pick the Comparebranches action (under Branches).
  3. Fill in the fields below, then reference the result from later steps as {{comparebranches.response.data}}.

Request

Query parameters

base_branchstring

The basis on which comparison is done. If kept empty, the source branch of the compare branch is considered by default.

compare_branchstringrequired

Enter the branch you want to compare with the base branch.

skipstring

Enter the number of branches to be skipped from the response body.

limitstring

Enter the maximum number of branches compare result to be returned. The default limit is set at 100.

Response

Returns 200 with a any. Read it in later steps with {{comparebranches.response.data.<field>}}.

Need more? See the Contentstack guide for connection setup and behaviour shared by every action.

Comparebranches — Contentstack — Documentation