List reports
Returns a paginated list of Reports linked to this commit.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example {workspace UUID}.
The repository.
The commit for which to retrieve reports.
Responses
Section titled “ Responses ”OK
A paginated list of reports.
object
Page number of the current results. This is an optional element that is not provided in all responses.
The values of the current page.
object
The UUID that can be used to identify the report.
The title of the report.
A string to describe the purpose of the report.
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.
A string to describe the tool or company who created the report.
A URL linking to the results of the report in an external tool.
If enabled, a remote link is created in Jira for the work item associated with the commit the report belongs to.
A URL to the report logo. If none is provided, the default insights logo will be used.
The type of the report.
The state of the report. May be set to PENDING and later updated.
An array of data fields to display information on the report. Maximum 10.
A key-value element that will be displayed along with the report.
object
The type of data contained in the value field. If not provided, then the value will be detected as a boolean, number or string.
A string describing what this data field represents.
The value of the data element.
object
The timestamp when the report was created.
The timestamp when the report was updated.
Total number of objects in the response. This is an optional element that is not provided in all responses, as it can be expensive to compute.
Current number of objects on the existing page. The default value is 10 with 100 being the maximum allowed value. Individual APIs may enforce different values.
Link to the next page if it exists. The last page of a collection does not have this value. Use this link to navigate the result set and refrain from constructing your own URLs.
Link to previous page if it exists. A collections first page does not have this value. This is an optional element that is not provided in all responses. Some result sets strictly support forward navigation and never provide previous links. Clients must anticipate that backwards navigation is not always available. Use this link to navigate the result set and refrain from constructing your own URLs.
Example
{ "values": [ { "report_type": "SECURITY", "result": "PASSED", "data": [ { "type": "BOOLEAN" } ] } ]}