Branch restrictions
List branch restrictions
Changed onReturns a paginated list of all branch restrictions on the repository.
get/repositories/{workspace}/{repo_slug}/branch-restrictions
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/branch-restrictions
- 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
Query parameters
kindstring
Branch restrictions of this type
patternstring
Branch restrictions applied to branches of this pattern
Response
A paginated list of branch restrictions
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