Bitbucket Pipelines Commits API

These are the repository's commits. They are paginated and returned in reverse chronological order, similar to the output of git log.

Business capability
Software Construction Management BC-4200.40

Operations 25

GET /repositories/{workspace}/{repo_slug}/commit/{commit} Get a commit #
DELETE /repositories/{workspace}/{repo_slug}/commit/{commit}/approve Unapprove a commit #
POST /repositories/{workspace}/{repo_slug}/commit/{commit}/approve Approve a commit #
GET /repositories/{workspace}/{repo_slug}/commit/{commit}/comments List a commit's comments #
POST /repositories/{workspace}/{repo_slug}/commit/{commit}/comments Create comment for a commit #
DELETE /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Delete a commit comment #
GET /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Get a commit comment #
PUT /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} Update a commit comment #
GET /repositories/{workspace}/{repo_slug}/commit/{commit}/reports List reports #
PUT /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Create or update a report #
GET /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Get a report #
DELETE /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} Delete a report #
GET /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations List annotations #
POST /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations Bulk create or update annotations #
GET /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Get an annotation #
PUT /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Create or update an annotation #
DELETE /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} Delete an annotation #
GET /repositories/{workspace}/{repo_slug}/commits List commits #
POST /repositories/{workspace}/{repo_slug}/commits List commits with include/exclude #
GET /repositories/{workspace}/{repo_slug}/commits/{revision} List commits for revision #
POST /repositories/{workspace}/{repo_slug}/commits/{revision} List commits for revision using include/exclude #
GET /repositories/{workspace}/{repo_slug}/diff/{spec} Compare two commits #
GET /repositories/{workspace}/{repo_slug}/diffstat/{spec} Compare two commit diff stats #
GET /repositories/{workspace}/{repo_slug}/merge-base/{revspec} Get the common ancestor between two commits #
GET /repositories/{workspace}/{repo_slug}/patch/{spec} Get a patch for two commits #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitbucket-pipelines-commits-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitbucket-pipelines-commits-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitbucket Commits API
  description: Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
  version: '2.0'
  termsOfService: https://www.atlassian.com/legal/customer-agreement
  contact:
    name: Bitbucket Support
    url: https://support.atlassian.com/bitbucket-cloud/
    email: support@bitbucket.org
servers:
- url: https://api.bitbucket.org/2.0
tags:


# --- truncated at 32 KB (212 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bitbucket-pipelines/refs/heads/main/openapi/bitbucket-pipelines-commits-api-openapi.yml