Branching model
Get the branching model config for a project
Return the branching model configuration for a project. 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/workspaces/{workspace}/projects/{project_key}/branching-model/settings
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/workspaces/{workspace}/projects/{project_key}/branching-model/settings
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: project:admin
- or HTTP basic
- or API key in header Authorization
Response
The branching model configuration
Changes
No recorded changes to this operation across all 15 revisions of this API.