Bitbucket Pipelines · Capability
Bitbucket API — Branch restrictions
Bitbucket API — Branch restrictions. 5 operations. Lead operation: List branch restrictions. Self-contained Naftiko capability covering one Bitbucket Pipelines business surface.
What You Can Do
GET
Get
— List branch restrictions
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions
POST
Post
— Create a branch restriction rule
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions
DELETE
Delete
— Delete a branch restriction rule
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions/{id}
GET
Get
— Get a branch restriction rule
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions/{id}
PUT
Put
— Update a branch restriction rule
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions/{id}
MCP Tools
list-branch-restrictions
List branch restrictions
read-only
idempotent
create-branch-restriction-rule
Create a branch restriction rule
delete-branch-restriction-rule
Delete a branch restriction rule
idempotent
get-branch-restriction-rule
Get a branch restriction rule
read-only
idempotent
update-branch-restriction-rule
Update a branch restriction rule
idempotent