younifyd
Menu

Mergebranches

Merge branches

POST/v3/stacks/branches_merge

Use it in a workflow

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

Request

Query parameters

base_branchstring

The base branch serves as the foundation where changes can be merged.

compare_branchstringrequired

Enter the branch from which you want to merge changes into the base branch.

default_merge_strategystringrequired

Specify the merge strategy to apply for the merge action.

merge_commentstringrequired

Enter the comment to be displayed for the merge action.

Response

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

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