v2
latestOpenAPI 3.0.02026-08-013312111.4 MBBranching model
Get the branching model config for a repository
Return the branching model configuration for a repository. The returned object:
- Always has a development property for the development branch.
- Always a production property for the production branch. The production branch can be disabled.
- The branch_types contains all the branch types.
- default_branch_deletion indicates whether branches will be deleted by default on merge.
This is the raw configuration for the branching model. A client wishing to see the branching model with its actual current branches may find the active model API more useful.
get/repositories/{workspace}/{repo_slug}/branching-model/settings
Response
The branching model configuration