How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Atlassian Commits API

The Commits API from Atlassian — 19 operation(s) for commits.

Atlassian Commits API is one of 183 APIs that Atlassian publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 17 JSON Schema definitions.

Tagged areas include Commits. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, and 17 JSON Schemas.

This API exposes 16 operations across 10 paths, and defines 22 schemas. It is described by OpenAPI 3.2.0, at version 2.0.

Requests are made against a single base URL, https://api.bitbucket.org/2.0.

16 operations 10 paths 22 schemas 2 DELETE9 GET4 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.0
Server
https://api.bitbucket.org/2.0
Authentication
HTTP Basic, OAuth 2.0, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

Atlassian Commits API declares 3 security schemes for authenticating requests. It accepts HTTP basic authentication (basic). It supports OAuth 2.0 (oauth2) using the authorizationCode flow, exposing 24 scopes. An API key is passed in the header as Authorization (api_key).

  • basic — Basic HTTP Authentication as per [RFC-2617](https://tools.ietf.org/html/rfc2617) (Digest not supported). Note that Basic Auth is available only with username a…
  • oauth2 — OAuth 2 as per [RFC-6749](https://tools.ietf.org/html/rfc6749).
  • api_key — API Keys can be used as Basic HTTP Authentication credentials and provide a substitute for the account's actual username and password. API Keys are only availa…

Paths & Operations 16

Across 10 paths, the API surfaces 16 operations — 2 DELETE, 9 GET, 4 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Commits 16

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

GET
/repositories/{workspace}/{repo_slug}/commit/{commit}
Atlassian Get A Commit
atlassianGetACommit 3 params → 200404
DELETE
/repositories/{workspace}/{repo_slug}/commit/{commit}/approve
Atlassian Unapprove A Commit
atlassianUnapproveACommit 3 params → 204404
POST
/repositories/{workspace}/{repo_slug}/commit/{commit}/approve
Atlassian Approve A Commit
atlassianApproveACommit 3 params → 200404
GET
/repositories/{workspace}/{repo_slug}/commit/{commit}/comments
Atlassian List A Commit S Comments
atlassianListACommitSComments 5 params → 200
POST
/repositories/{workspace}/{repo_slug}/commit/{commit}/comments
Atlassian Create Comment For A Commit
atlassianCreateCommentForACommit 3 params body → 201400404
DELETE
/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
Atlassian Delete A Commit Comment
atlassianDeleteACommitComment 4 params → 204404
GET
/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
Atlassian Get A Commit Comment
atlassianGetACommitComment 4 params → 200
PUT
/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}
Atlassian Update A Commit Comment
atlassianUpdateACommitComment 4 params body → 201400
GET
/repositories/{workspace}/{repo_slug}/commits
Atlassian List Commits
atlassianListCommits 2 params → 200404
POST
/repositories/{workspace}/{repo_slug}/commits
Atlassian List Commits With Include Exclude
atlassianListCommitsWithIncludeExclude 2 params → 200404
GET
/repositories/{workspace}/{repo_slug}/commits/{revision}
Atlassian List Commits For Revision
atlassianListCommitsForRevision 3 params → 200404
POST
/repositories/{workspace}/{repo_slug}/commits/{revision}
Atlassian List Commits For Revision Using Include Exclude
atlassianListCommitsForRevisionUsingIncludeExclude 3 params → 200404
GET
/repositories/{workspace}/{repo_slug}/diff/{spec}
Atlassian Compare Two Commits
atlassianCompareTwoCommits 10 params → 200555
GET
/repositories/{workspace}/{repo_slug}/diffstat/{spec}
Atlassian Compare Two Commit Diff Stats
atlassianCompareTwoCommitDiffStats 8 params → 200555
GET
/repositories/{workspace}/{repo_slug}/merge-base/{revspec}
Atlassian Get The Common Ancestor Between Two Commits
atlassianGetTheCommonAncestorBetweenTwoCommits 3 params → 200401403404
GET
/repositories/{workspace}/{repo_slug}/patch/{spec}
Atlassian Get A Patch For Two Commits
atlassianGetAPatchForTwoCommits 3 params → 200555

Schemas 22

The contract defines 22 schemas that model the data the API accepts and returns. The most detailed are paginated_changeset (6 properties), diffstat (6 properties), paginated_commit_comments (6 properties), paginated_diffstats (6 properties). Each schema is shown below with its type and property counts.

commit_file
object
A file object, representing a file at a commit in a repository
5 properties 1 required
repository
ref
object
A ref object, representing a branch or tag in a repository.
4 properties 1 required
paginated_changeset
object
A paginated list of commits.
6 properties
comment
account_links
object
Links related to an Account.
1 property
author
error
object
Base type for most resource objects. It defines the common type element that identifies an object's type. It also identifies the element as Swagger's discrimin…
2 properties 1 required
base_commit
participant
project
diffstat
object
A diffstat object that includes a summary of changes made to a file between two commits.
6 properties 1 required
commit
link
object
A link to a resource related to this object.
2 properties
branch
team
paginated_diffstats
object
A paginated list of diffstats.
6 properties
account
commit_comment
paginated_commit_comments
object
A paginated list of commit comments.
6 properties
object
object
Base type for most resource objects. It defines the common type element that identifies an object's type. It also identifies the element as Swagger's discrimin…
1 property 1 required
team_links

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

atlassian-commits-api-openapi.yml Raw ↑

Other APIs Atlassian publishes across the network.

Atlassian Jira Software Backlog API
Atlassian Jira Software Board API
Atlassian Jira Software Epic API
Atlassian Jira Software Sprint API
Atlassian Jira Software Development Information API
Atlassian Jira Software Feature Flags API
Atlassian Jira Software Deployments API
Atlassian Jira Software Builds API
Atlassian Jira Software Remote Links API
Atlassian Jira Software Security Information API
Atlassian Jira Service Management Customer API
Atlassian Jira Service Management Info API
Where this information came from

This is an independent, third-party profile of Atlassian Commits API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.