List quarantined tests
Changed onDeprecated: use the test states API, /ci/{owner}/repositories/{repository}/test-states.
List the tests currently quarantined in the repository, ordered by sort and direction (quarantine creation time ascending by default). A quarantine applies to a specific branch or to all branches when branch is null.
Pass per_page (and optionally cursor) to receive a bounded page with RFC 5988 navigation links. Omitting per_page is deprecated: it returns the full list in a single response, flagged with a Deprecation header. A future release will return the first page of 10 quarantines instead.
Request
- Base URL: https://api.mergify.com/v1
- URL: https://api.mergify.com/v1/ci/{owner}/repositories/{repository}/quarantines
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Path parameters
The name of the repository
The owner of the repository
Query parameters
Deprecated: use branch_name.
The test identifier to filter on
The sources to filter on.
The branch name to filter on. Quarantines applying to every branch always match.
The branch name to exclude. Quarantines applying to every branch are kept.
The pipeline name to filter on. Quarantines applying to every pipeline always match.
The pipeline name to exclude. Quarantines applying to every pipeline are kept.
The job name to filter on. Quarantines applying to every job always match.
The job name to exclude. Quarantines applying to every job are kept.
The test name to filter on
The test name to exclude
The health status to filter on. Tests with no recent runs are left out.
The health status to exclude. Tests with no recent runs are kept.
The opaque cursor of the current page. Must be extracted from RFC 5988 pagination links to get the previous/next pages.
The number of items per page, with RFC 5988 cursor pagination. Omitting it is deprecated: it returns the full list in a single response, and will default to 10 in a future release.
Sort field. test_name orders by the first 255 characters of the name: names sharing them come back in a stable but arbitrary order.
Sort direction. Ascending created_at is oldest first; ascending health_status is broken, flaky, healthy, then tests with no recent runs. pipeline_name and job_name put quarantines applying to every pipeline or job first.
Response
Successful Response
Changes
- info
endpoint deprecated
- info
- info
added the required property
//to the response with the status
- info