Replace the jobs set on an app
Takes effect on the next sync of each deployment of the app.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
appId*stringuuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255application/json- body
before*array<>items <= 20after*array<>items <= 20The app's jobs after the change.
application/json- response
appId*stringuuidjobs*array<>overrides*array<>curl -X PUT 'https://wardn.example.com/api/v1/apps/497f6eca-6276-4993-bfeb-53cbbbba6f08/jobs' \ -H 'Content-Type: application/json' \ -d '{ "before": [ { "name": "string", "job": {} } ], "after": [ { "name": "string", "job": {} } ]}'{ "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": {} } ]}Get the jobs set on an app GET
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.
List the organization's health checks GET
The built-in checks, the custom checks the organization wrote or imported (each for a kind of object, in CEL the way Flux writes it or in Lua the way Argo CD does), and the defaults a stage may change.