{ "operationId": "atlassianGetTheBranchingModelForARepository", "method": "GET", "path": "/repositories/{workspace}/{repo_slug}/branching-model", "summary": "Atlassian Get The Branching Model For A Repository", "requestExamples": [], "responseExamples": [ { "status": "200", "contentType": "application/json", "name": "response", "example": { "development": { "name": "master", "branch": { "type": "branch", "name": "master", "target": { "hash": "16dffcb0de1b22e249db6799532074cf32efe80f" } }, "use_mainbranch": true }, "production": { "name": "production", "branch": { "type": "branch", "name": "production", "target": { "hash": "16dffcb0de1b22e249db6799532074cf32efe80f" } }, "use_mainbranch": false }, "branch_types": [ { "kind": "release", "prefix": "release/" }, { "kind": "hotfix", "prefix": "hotfix/" }, { "kind": "feature", "prefix": "feature/" }, { "kind": "bugfix", "prefix": "bugfix/" } ], "type": "branching_model", "links": { "self": { "href": "https://api.bitbucket.org/.../branching-model" } } } } ] }