Retrieves aggregated test result metrics for a given repository and owner
GET /api/0/prevent/owner/{owner}/repository/{repository}/test-results-aggregates/
Retrieves aggregated test result metrics for a given repository and owner. Also accepts a query parameter to specify the time period for the metrics.
Path Parameters
owner
(string)REQUIREDThe owner of the repository.
repository
(string)REQUIREDThe name of the repository.
Query Parameters:
interval
(string)The time interval to search for results by.
Available fields are:
INTERVAL_30_DAY
INTERVAL_7_DAY
INTERVAL_1_DAY
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:
Copied
curl https://sentry.io/api/0/prevent/owner/{owner}/repository/{repository}/test-results-aggregates/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied.
Was this helpful?