Bitbucket Pipelines · Capability
Bitbucket API — Commits
Bitbucket API — Commits. 25 operations. Lead operation: Get a commit. Self-contained Naftiko capability covering one Bitbucket Pipelines business surface.
What You Can Do
GET
Get
— Get a commit
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}
DELETE
Delete
— Unapprove a commit
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/approve
POST
Post
— Approve a commit
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/approve
GET
Get
— List a commit's comments
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/comments
POST
Post
— Create comment for a commit
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/comments
DELETE
Delete
— Delete a commit comment
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/comments/{comment-id}
GET
Get
— Get a commit comment
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/comments/{comment-id}
PUT
Put
— Update a commit comment
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/comments/{comment-id}
GET
Getreportsforcommit
— List reports
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports
PUT
Createorupdatereport
— Create or update a report
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}
GET
Getreport
— Get a report
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}
DELETE
Deletereport
— Delete a report
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}
GET
Getannotationsforreport
— List annotations
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations
POST
Bulkcreateorupdateannotations
— Bulk create or update annotations
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations
GET
Getannotation
— Get an annotation
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations/{annotationid}
PUT
Createorupdateannotation
— Create or update an annotation
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations/{annotationid}
DELETE
Deleteannotation
— Delete an annotation
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations/{annotationid}
GET
Get
— List commits
/v1/repositories/{workspace}/{repo-slug}/commits
POST
Post
— List commits with include/exclude
/v1/repositories/{workspace}/{repo-slug}/commits
GET
Get
— List commits for revision
/v1/repositories/{workspace}/{repo-slug}/commits/{revision}
POST
Post
— List commits for revision using include/exclude
/v1/repositories/{workspace}/{repo-slug}/commits/{revision}
GET
Get
— Compare two commits
/v1/repositories/{workspace}/{repo-slug}/diff/{spec}
GET
Get
— Compare two commit diff stats
/v1/repositories/{workspace}/{repo-slug}/diffstat/{spec}
GET
Get
— Get the common ancestor between two commits
/v1/repositories/{workspace}/{repo-slug}/merge-base/{revspec}
GET
Get
— Get a patch for two commits
/v1/repositories/{workspace}/{repo-slug}/patch/{spec}
MCP Tools
get-commit
Get a commit
read-only
idempotent
unapprove-commit
Unapprove a commit
idempotent
approve-commit
Approve a commit
list-commit-s-comments
List a commit's comments
read-only
idempotent
create-comment-commit
Create comment for a commit
delete-commit-comment
Delete a commit comment
idempotent
get-commit-comment
Get a commit comment
read-only
idempotent
update-commit-comment
Update a commit comment
idempotent
list-reports
List reports
read-only
idempotent
create-update-report
Create or update a report
idempotent
get-report
Get a report
read-only
idempotent
delete-report
Delete a report
idempotent
list-annotations
List annotations
read-only
idempotent
bulk-create-update-annotations
Bulk create or update annotations
get-annotation
Get an annotation
read-only
idempotent
create-update-annotation
Create or update an annotation
idempotent
delete-annotation
Delete an annotation
idempotent
list-commits
List commits
read-only
idempotent
list-commits-include-exclude
List commits with include/exclude
read-only
list-commits-revision
List commits for revision
read-only
idempotent
list-commits-revision-using-include
List commits for revision using include/exclude
read-only
compare-two-commits
Compare two commits
read-only
idempotent
compare-two-commit-diff-stats
Compare two commit diff stats
read-only
idempotent
get-common-ancestor-between-two
Get the common ancestor between two commits
read-only
idempotent
get-patch-two-commits
Get a patch for two commits
read-only
idempotent