Bitbucket · Capability
Bitbucket API — Refs
Bitbucket API — Refs. 9 operations. Lead operation: List branches and tags. Self-contained Naftiko capability covering one Bitbucket business surface.
What You Can Do
GET
Get
— List branches and tags
/v1/repositories/{workspace}/{repo-slug}/refs
GET
Get
— List open branches
/v1/repositories/{workspace}/{repo-slug}/refs/branches
POST
Post
— Create a branch
/v1/repositories/{workspace}/{repo-slug}/refs/branches
DELETE
Delete
— Delete a branch
/v1/repositories/{workspace}/{repo-slug}/refs/branches/{name}
GET
Get
— Get a branch
/v1/repositories/{workspace}/{repo-slug}/refs/branches/{name}
GET
Get
— List tags
/v1/repositories/{workspace}/{repo-slug}/refs/tags
POST
Post
— Create a tag
/v1/repositories/{workspace}/{repo-slug}/refs/tags
DELETE
Delete
— Delete a tag
/v1/repositories/{workspace}/{repo-slug}/refs/tags/{name}
GET
Get
— Get a tag
/v1/repositories/{workspace}/{repo-slug}/refs/tags/{name}
MCP Tools
list-branches-and-tags
List branches and tags
read-only
idempotent
list-open-branches
List open branches
read-only
idempotent
create-branch
Create a branch
delete-branch
Delete a branch
idempotent
get-branch
Get a branch
read-only
idempotent
list-tags
List tags
read-only
idempotent
create-tag
Create a tag
delete-tag
Delete a tag
idempotent
get-tag
Get a tag
read-only
idempotent