Get how a snapshot qualifies
How the snapshot fares in the pipeline stage its deployment sits in: the verdict, each check behind it, the sign-offs so far and whether the caller may decide, with the reason when they may not. Worked out when read, so it follows the facts. `configured: false` when no stage decides.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidsnapshotId*stringuuidOK.
application/json- response
How a snapshot fares in the stage of its deployment. A snapshot the deployment no longer runs keeps the checks it last had; one that was still qualifying then is superseded.
configured*booleanagent*The agent that reads each snapshot for the person who signs off. Its read is advice for the approver, never a sign-off. The agent id is stored as written; it is checked against the agents once they exist (M6).
agentRead*|What the agent set to read this stage's snapshots made of this one: advice for the person who signs off, never a sign-off. Null when none has read it, which is always until agents ship (M6).
snapshot*The snapshot a qualification is about.
verdict*string"unknown""qualifying""qualified""rejected""superseded"running*booleanThe deployment runs this snapshot now. Only the running snapshot is judged afresh.
reason*stringWhy it is not qualified yet, or why it was rejected. Empty once qualified.
changedAt?|When the verdict last changed.
date-timestage*|The stage that judges it; null when none does.
checks*array<>signoffs*array<>The decisions people made, oldest first.
sign*Whether the caller may sign off, and why not when they may not, so a screen can say it instead of hiding a button.
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/snapshots/497f6eca-6276-4993-bfeb-53cbbbba6f08/qualification'{ "configured": true, "agent": { "mode": "off", "agentId": "string" }, "agentRead": null, "snapshot": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "contentId": "string", "createdAt": "2019-08-24T14:15:22Z", "createdBy": "string" }, "verdict": "unknown", "running": true, "reason": "string", "changedAt": "2019-08-24T14:15:22Z", "stage": null, "checks": [ { "ruleId": "string", "type": "test", "title": "string", "result": "string", "progress": 0, "state": "passed", "fatal": true, "why": "string" } ], "signoffs": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "decision": "signoff", "note": "string", "reason": "string", "by": { "id": "string", "name": "string" }, "at": "2019-08-24T14:15:22Z" } ], "sign": { "can": true, "reason": "string", "needed": 0, "signed": 0, "allowIssues": true }}Get the settings a snapshot holds GET
What shapes how each app runs, per app: the keys of its values, its secret references as fingerprints (a secret's value is never stored) and its ConfigMaps as digests, each against the snapshot before. A snapshot made before values were kept lists its secrets and ConfigMaps only.
List how a deployment's snapshots qualify GET
How each snapshot of the deployment that was judged in its pipeline stage fares, newest first, in one read for a history to show. The running snapshot is judged afresh; the others are as they were last worked out. A snapshot never judged is not listed, and a deployment in no stage lists none.