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

Bitbucket Reports API

Code insights provides reports, annotations, and metrics to help youand your team improve code quality in pull requests throughout the codereview process. Some of the available code insights are static analysisreports, security scan results, artifact links, unit tests, and buildstatus.

Bitbucket Reports API is one of 23 APIs that Bitbucket publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Reports. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an AsyncAPI specification, and 8 JSON Schemas.

This API exposes 9 operations across 4 paths, and defines 7 schemas. It is described by OpenAPI 2.0, at version 2.0.

Requests are made against the base URL https://api.bitbucket.org/2.0.

9 operations 4 paths 7 schemas 2 DELETE4 GET1 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 2.0
API Version
2.0
Base URL
https://api.bitbucket.org/2.0
Authentication
basic, OAuth 2.0, API Key
Terms of Service
Resource Areas
1

Authentication & Security 3

Bitbucket Reports API declares 3 security schemes for authenticating requests. It defines a basic scheme (basic). It supports OAuth 2.0 (oauth2) using the accessCode flow, exposing 26 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 9

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

Reports 9

Code insights provides reports, annotations, and metrics to help you and your team improve code quality in pull requests throughout the code review process. Some of the available…

GET
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports
List reports
getReportsForCommit 3 params → 200
PUT
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
Create or update a report
createOrUpdateReport 5 params → 200400
GET
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
Get a report
getReport 4 params → 200404
DELETE
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}
Delete a report
deleteReport 4 params → 204
GET
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations
List annotations
getAnnotationsForReport 4 params → 200
POST
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations
Bulk create or update annotations
bulkCreateOrUpdateAnnotations 5 params → 200
GET
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
Get an annotation
getAnnotation 5 params → 200404
PUT
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
Create or update an annotation
createOrUpdateAnnotation 6 params → 200400
DELETE
/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId}
Delete an annotation
deleteAnnotation 5 params → 204

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are paginated_reports (6 properties), paginated_annotations (6 properties), report_data (3 properties), error (2 properties). Each schema is shown below with its type and property counts.

report
paginated_annotations
object
A paginated list of annotations.
6 properties
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
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
report_data
object
A key-value element that will be displayed along with the report.
3 properties
paginated_reports
object
A paginated list of reports.
6 properties
report_annotation

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

bitbucket-reports-api-openapi.yml Raw ↑

Other APIs Bitbucket publishes across the network.

Bitbucket Addon API
Bitbucket Branch restrictions API
Bitbucket Branching model API
Bitbucket Commit statuses API
Bitbucket Commits API
Bitbucket Deployments API
Bitbucket Downloads API
Bitbucket GPG API
Bitbucket Issue tracker API
Bitbucket Pipelines API
Bitbucket Projects API
Bitbucket properties API
Where this information came from

This is an independent, third-party profile of Bitbucket Reports 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.