Retrieve test suites belonging to a repository's test results
GET /api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/test-suites/
Retrieves test suites belonging to a repository's test results. It accepts a list of test suites as a query parameter to specify individual test suites.
Path Parameters
organization_id_or_slug
(string)REQUIREDThe ID or slug of the organization the resource belongs to.
owner
(string)REQUIREDThe owner of the repository.
repository
(string)REQUIREDThe name of the repository.
Query Parameters:
term
(string)The term substring to filter name strings by using the
contains
operator.
Scopes
You need to authenticate via bearer auth token.
<auth_token>
requires one of the following scopes:org:admin
org:read
org:write
Copied
curl https://sentry.io/api/0/organizations/{organization_id_or_slug}/prevent/owner/{owner}/repository/{repository}/test-suites/ \ -H 'Authorization: Bearer <auth_token>'
RESPONSESCHEMA
Copied.
Was this helpful?