Branch restrictions
Get a branch restriction rule
Changed onReturns a specific branch restriction rule.
get/repositories/{workspace}/{repo_slug}/branch-restrictions/{id}
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/branch-restrictions/{id}
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: repository:admin
- or HTTP basic
- or API key in header Authorization
Response
The branch restriction rule
Changes
- info
added the optional property
/to the response with the status
- info
- info
added the optional property
//////to the response with the status
- info