Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.45 KB

File metadata and controls

31 lines (23 loc) · 1.45 KB
description REST API for checking Trunk service status and fetching unhealthy or quarantined tests in your project.

Flaky Tests API

The Trunk Flaky Tests API provides access to check the status of Trunk services and fetch unhealthy or quarantined tests in your project. The API is an HTTP REST API, returns JSON from all requests, and uses standard HTTP response codes.

All requests must be authenticated by providing the x-api-token header.

{% openapi-operation spec="trunk-api" path="/flaky-tests/get-test-details" method="post" %} OpenAPI trunk-api {% endopenapi-operation %}

{% openapi-operation spec="trunk-api" path="/flaky-tests/link-ticket-to-test-case" method="post" %} OpenAPI trunk-api {% endopenapi-operation %}

{% openapi-operation spec="trunk-api" path="/flaky-tests/list-failing-tests" method="post" %} OpenAPI trunk-api {% endopenapi-operation %}

{% openapi-operation spec="trunk-api" path="/flaky-tests/list-unhealthy-tests" method="post" %} OpenAPI trunk-api {% endopenapi-operation %}

{% openapi-operation spec="trunk-api" path="/flaky-tests/list-quarantined-tests" method="post" %} OpenAPI trunk-api {% endopenapi-operation %}