Apps and sources
Preview

Get the jobs set on an app

The jobs that run around every deploy of the app, in every deployment of it, once per release, each as a Kubernetes Job of its own. `overrides` are what individual deployments change of them.

GET
/apps/{appId}/jobs
cookiebetter-auth.session_token<token>

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

appId*string
Formatuuid

Response Body

The app's jobs.

application/json
  1. response
appId*string
Formatuuid
jobs*array<>
overrides*array<>
Example Request
curl -X GET 'https://wardn.example.com/api/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/jobs'
Example Response
{  "appId": "28c365d5-df94-4a54-8217-3ce51d068868",  "jobs": [    {      "trigger": "every_change",      "envSource": "app",      "promotion": {        "skip": true,        "command": true,        "image": true,        "timeout": true      },      "name": "string",      "when": "before",      "image": "string",      "failurePolicy": "stop",      "timeoutSeconds": 0,      "job": {},      "undoJob": {}    }  ],  "overrides": [    {      "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2",      "deploymentName": "string",      "when": "before",      "name": "string",      "disabled": true,      "job": {}    }  ]}