List a deployment's state over time
The periods the deployment's state held that overlap the time range, oldest first. A period that is still current has no `endedAt`.
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.
from?stringInclusive lower bound. Defaults to the beginning of the history.
date-timeto?stringExclusive upper bound. Defaults to now.
date-timeA page of periods.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/state-history'{ "items": [ { "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2", "deploymentName": "string", "targetKind": "cluster", "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "environmentId": "19f5cc2e-7657-437a-9268-83cd3d563563", "namespace": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "cause": "created", "tracking": { "kind": "branch", "ref": "string" }, "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "desiredSnapshotId": "772358de-4331-409a-8836-5e8987492b85", "sync": "synced", "syncMessage": "string", "health": "healthy", "healthMessage": "string", "drift": { "status": "none", "count": 0 } } ], "nextCursor": "string"}Compare the snapshot a deployment runs with the cluster GET
The objects that differ between the snapshot running and the cluster, as the operator last found them, by object. In each field `from` is the live value and `to` is the value the snapshot sets. An object missing from the cluster is `added`.
Get what a deployment was imported from GET
For a deployment an import made: the tool and the object it came from, where the import stands, and the rows of its "Imported from" settings table in the board's order (Source, Auto-sync, Prune, Self-heal, Sync waves, Hooks, ignoreDifferences, then the rest), each saying how Wardn carries the settin