Deployments
Preview

List the test runs of a deployment

The test runs against the deployment, newest first, each with its pass count and the snapshot it judged. Only the runs of suites the caller may read are listed.

GET
/deployments/{deploymentId}/tests
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

deploymentId*string
Formatuuid

Response Body

The deployment's test runs.

application/json
  1. response

The test runs against a deployment, newest first.

items*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/tests'
Example Response
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "suite": "string",      "appId": "28c365d5-df94-4a54-8217-3ce51d068868",      "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861",      "status": "queued",      "passed": 0,      "failed": 0,      "total": 0,      "startedAt": "2019-08-24T14:15:22Z",      "finishedAt": "2019-08-24T14:15:22Z"    }  ]}