List what happened to a deployment
The snapshot history, newest first: each snapshot that was made and each time the cluster was found to differ from what Wardn applied. A snapshot event says what changed in each app against the snapshot before it, which secrets changed fingerprint, how many commits came with it where the git host ca
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidlimit?integerPage size. Defaults to 50, at most 200.
1 <= value <= 20050cursor?stringOpaque cursor from a previous page's nextCursor.
A page of events.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/history'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "snapshot", "at": "2019-08-24T14:15:22Z", "contentId": "string", "actor": { "kind": "user", "id": "string", "label": "string" }, "snapshot": { "promotedFrom": { "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "origin": "sync", "commit": "string", "branch": "string", "sourceRepo": "string", "commitSubject": "string", "commitAuthor": "string", "committedAt": "2019-08-24T14:15:22Z", "apps": [ { "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "name": "string", "sourceRepo": "string", "sourcePath": "string", "renderType": "string", "commit": "string", "branch": "string", "branchProtected": true, "prNumber": 0, "pusher": "string", "commitSubject": "string", "commitAuthor": "string", "committedAt": "2019-08-24T14:15:22Z", "refKind": "branch", "refName": "string", "commitsSince": 0, "commitRange": [ { "sha": "string", "subject": "string", "author": "string" } ] } ], "manifestDigest": "string", "contentId": "string", "resourceCount": 0, "totalBytes": 0, "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "reviewState": "held" }, "apps": [ { "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "name": "string", "commit": "string", "previousCommit": "string", "change": "added", "resources": 0, "changedResources": 0, "kinds": { "image": true, "values": 0, "config": 0, "secrets": 0 }, "commits": 0 } ], "commits": 0, "secrets": [ { "name": "string", "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "was": "string", "now": "string" } ], "jobs": { "total": 0, "failed": 0 }, "drift": { "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "objects": 0, "fields": [ { "appName": "string", "kind": "string", "name": "string", "path": "string", "desired": "string", "live": "string" } ] } } ], "nextCursor": "string"}Get what comes next for a deployment GET
How new snapshots reach it and what limits them: its pipeline stage with auto-promotion and soak (live: `configured` is true when a pipeline the caller can read carries one of its apps and has a stage in its environment), deploy windows and freezes (shape only, empty until guardrails, M3), and its d
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.