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)
REQUIRED

The owner of the repository.

repository (string)
REQUIRED

The 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

<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?