Deployments
PreviewList the jobs that run around a deployment's applies
Each job from the deployment's settings with the app it belongs to, when it runs, its image, what a failure does, and its last run.
GET
cookie
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringFormat
uuidappId?stringOnly what belongs to this app of the deployment.
Format
uuidOK.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/jobs'Example Response
{ "items": [ { "name": "string", "origin": "app", "sourceName": "string", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "appName": "string", "when": "before", "image": "string", "onFailure": "stop", "timeoutSeconds": 0, "lastRun": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "phase": "before", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "status": "succeeded", "error": "string", "logTail": "string", "startedAt": "2019-08-24T14:15:22Z", "finishedAt": "2019-08-24T14:15:22Z" } } ]}Stream the logs of an app's pods, merged GET
Server-sent events, one `line` event per log line (`{"time","pod","container","text"}`) from every pod of the app (or of the deployment) and an `end` event (`{"reason","message","pods","skipped"}`). Without `follow` the lines are the newest of each pod, sorted by time; with it they arrive as the pod
List the runs of a deployment's jobs GET
Every job run the operators reported with an apply, newest first.