Return the branching model as applied to the repository. This view is read-only. The branching model settings can be changed using the API.
The returned object:
- Always has a
developmentproperty.development.branchcontains the actual repository branch object that is considered to be thedevelopmentbranch.development.branchwill not be present if it does not exist. - Might have a
productionproperty.productionwill not be present whenproductionis disabled.production.branchcontains the actual branch object that is considered to be theproductionbranch.production.branchwill not be present if it does not exist. - Always has a
branch_typesarray which contains all enabled branch types.
Example body: