v2

latestOpenAPI 3.0.02026-08-013312111.4 MB
Branching model

Get the branching model for a project

Return the branching model set at the project level. This view is read-only. The branching model settings can be changed using the settings API.

The returned object:

  1. Always has a development property. development.name is the user-specified branch that can be inherited by an individual repository's branching model.
  2. Might have a production property. production will not be present when production is disabled. production.name is the user-specified branch that can be inherited by an individual repository's branching model.
  3. Always has a branch_types array which contains all enabled branch types.
get/workspaces/{workspace}/projects/{project_key}/branching-model

Response

The branching model object

typestring required