Rate this page:
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 code insights are static analysis reports, security scan results, artifact links, unit tests, and build status.
GET /2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports
Returns a paginated list of Reports linked to this commit.
string
This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}
.
string
The repository.
string
The commit for which to retrieve reports.
1 2 3
curl --request GET \
--url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/reports' \
--header 'Accept: application/json'