Deployments
Preview

List a deployment's timeline

The cluster timeline's entries that belong to the deployment, found by the `wardn.dev/deployment` annotation or, failing that, the deployment's namespace on its cluster. Newest first, grouped like the cluster timeline. A sync, rollback, restore, adopt or drift is in Activity, not here.

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

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

deploymentId*string
Formatuuid
limit?integer

Page size. Defaults to 50, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from a previous page's nextCursor.

kind?array<>

Only entries of these kinds. Repeat the parameter for several.

Response Body

A page of entries, newest first.

application/json
  1. response
items*array<>
nextCursor?string
Example Request
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/timeline'
Example Response
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8",      "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2",      "kind": "crash_loop",      "severity": "info",      "object": {        "kind": "string",        "namespace": "string",        "name": "string"      },      "message": "string",      "count": 1,      "firstAt": "2019-08-24T14:15:22Z",      "lastAt": "2019-08-24T14:15:22Z"    }  ],  "nextCursor": "string"}