v2

Swagger 2.02026-08-01331211921.0 KB
Reports
Commits

Get a report

Returns a single Report matching the provided ID.

get/repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}

Path parameters

workspacestring required

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.

repo_slugstring required

The repository.

commitstring required

The commit the report belongs to.

reportIdstring required

Either the uuid or external-id of the report.

Response

OK

typestring required
uuidstring

The UUID that can be used to identify the report.

titlestring

The title of the report.

detailsstring

A string to describe the purpose of the report.

external_idstring

ID of the report provided by the report creator. It can be used to identify the report as an alternative to it's generated uuid. It is not used by Bitbucket, but only by the report creator for updating or deleting this specific report. Needs to be unique.

reporterstring

A string to describe the tool or company who created the report.

linkstring uri

A URL linking to the results of the report in an external tool.

remote_link_enabledboolean

If enabled, a remote link is created in Jira for the work item associated with the commit the report belongs to.

logo_urlstring uri

A URL to the report logo. If none is provided, the default insights logo will be used.

report_type'SECURITY' | 'COVERAGE' | 'TEST' | 'BUG'

The type of the report.

result'PASSED' | 'FAILED' | 'PENDING'

The state of the report. May be set to PENDING and later updated.

created_onstring date-time

The timestamp when the report was created.

updated_onstring date-time

The timestamp when the report was updated.