branching_model - get
Return the branching model as applied to the repository. This view is read-only. The branching model settings can be changed using the settings API. [API Docs]
get/repositories/{workspace}/{repo_slug}/branching-model
const { data, headers } = await bitbucket.branching_model.get({ repo_slug, workspace, fields })
bitbucket.branching_model.get({ repo_slug, workspace, fields }).then(({ data, headers }) => {})
Parameters
Field | Type | Description |
---|---|---|
repo_slug | string |
This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: |
workspace | string |
This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: |
fields optional | string |