List a repository's branch restrictions
One step with Bitbucket. We can help you get access.
Look something up
List a repository's branch restrictions
with Bitbucket · Software Construction Management
Use Bitbucket: its Bitbucket Branch restrictions API lets you list a repository's branch restrictions in a single step (GET /repositories/{workspace}/{repo_slug}/branch-restrictions). capabilities.work can help you get signed up and connected.
- Which branch protection rules are set on my Bitbucket repo?
- Can I filter branch restrictions by kind, like only push rules?
- What restrictions apply to branches matching a given pattern?
Say it to your AI assistant
- List all branch restrictions on {workspace}/{repo_slug}.
- Show {kind} restrictions in {workspace}/{repo_slug}.
- List restrictions on {workspace}/{repo_slug} that match pattern {pattern}.
For your developer
GET /repositories/{workspace}/{repo_slug}/branch-restrictions in Bitbucket Branch restrictions API. Full spec on APIs.io.