Get an imported deployment's cutover
What cutting the deployment over from Argo CD or Flux would do and whether it can (`preview`, while the deployment observes and nothing is under way), the attempt under way or the latest one (`current`), and up to five earlier attempts (`history`). The preview's step titles and "Before it can run" r
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidThe deployment's cutover.
application/json- response
An imported deployment's cutover screen.
preview?The review page of a cutover that could be requested now, or why it cannot be.
current?One attempt to cut an imported deployment over.
history*array<>Earlier attempts, newest first, at most five.
curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/cutover'{ "preview": { "tool": "argocd", "source": { "kind": "string", "namespace": "string", "name": "string" }, "baseSnapshotId": "50c8a023-0702-481c-b991-7f02a2c9d036", "snapshotSha": "string", "steps": [ "string", "string", "string", "string" ], "checks": [ { "kind": "differences", "status": "passed", "statusText": "string", "text": "string", "setBy": "string", "blocker": "string", "object": { "kind": "string", "namespace": "string", "name": "string" }, "parent": { "kind": "string", "namespace": "string", "name": "string" }, "command": "string", "versions": [ "string" ], "missing": [ { "verb": "string", "group": "string", "resource": "string", "namespace": "string", "user": "string" } ], "approvers": [ "string" ], "ruleLines": [ "string" ] } ], "canStart": true, "blockers": [ "string" ], "approval": { "needed": true, "setBy": "string", "approvers": [ "string" ], "ruleLines": [ "string" ] }, "automatic": true, "reviewDigest": "string", "counts": { "accepted": 0, "open": 0, "expected": 0, "markers": 0, "autoscaled": 0, "images": 0, "hooks": 0 }, "imagesKept": 0, "hooksLeftOut": 0, "environmentClass": "string" }, "current": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "state": "awaiting_approval", "trigger": "person", "requestedBy": { "id": "string", "name": "string" }, "requestedAt": "2019-08-24T14:15:22Z", "startedAt": "2019-08-24T14:15:22Z", "step": 0, "steps": [ { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" } ], "wait": { "reason": "parent", "words": "string", "parent": { "kind": "string", "namespace": "string", "name": "string" }, "version": "string", "code": "string" }, "interruption": { "what": "string", "by": "string", "at": "2019-08-24T14:15:22Z", "turnedBackOn": true }, "approval": { "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6", "state": "open", "setBy": "string", "approvers": [ "string" ], "decision": "approve", "decidedBy": { "id": "string", "name": "string" }, "decidedAt": "2019-08-24T14:15:22Z" }, "releasable": true, "retriable": true, "pastPointOfNoReturn": true, "removedAt": "2019-08-24T14:15:22Z", "failure": { "code": "string", "message": "string" }, "releaseRequestedBy": { "id": "string", "name": "string" }, "releaseRequestedAt": "2019-08-24T14:15:22Z", "releasedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "baseSnapshotId": "50c8a023-0702-481c-b991-7f02a2c9d036", "snapshotSha": "string", "tool": "argocd", "source": { "kind": "string", "namespace": "string", "name": "string" }, "counts": { "accepted": 0, "open": 0, "expected": 0, "markers": 0, "autoscaled": 0, "images": 0, "hooks": 0 }, "imagesKept": 0, "contentNotResynced": true, "leftAlone": [ "string" ], "inventoryUnreadable": 0 }, "history": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "state": "awaiting_approval", "trigger": "person", "requestedBy": { "id": "string", "name": "string" }, "requestedAt": "2019-08-24T14:15:22Z", "startedAt": "2019-08-24T14:15:22Z", "step": 0, "steps": [ { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" } ], "wait": { "reason": "parent", "words": "string", "parent": { "kind": "string", "namespace": "string", "name": "string" }, "version": "string", "code": "string" }, "interruption": { "what": "string", "by": "string", "at": "2019-08-24T14:15:22Z", "turnedBackOn": true }, "approval": { "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6", "state": "open", "setBy": "string", "approvers": [ "string" ], "decision": "approve", "decidedBy": { "id": "string", "name": "string" }, "decidedAt": "2019-08-24T14:15:22Z" }, "releasable": true, "retriable": true, "pastPointOfNoReturn": true, "removedAt": "2019-08-24T14:15:22Z", "failure": { "code": "string", "message": "string" }, "releaseRequestedBy": { "id": "string", "name": "string" }, "releaseRequestedAt": "2019-08-24T14:15:22Z", "releasedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "baseSnapshotId": "50c8a023-0702-481c-b991-7f02a2c9d036", "snapshotSha": "string", "tool": "argocd", "source": { "kind": "string", "namespace": "string", "name": "string" }, "counts": { "accepted": 0, "open": 0, "expected": 0, "markers": 0, "autoscaled": 0, "images": 0, "hooks": 0 }, "imagesKept": 0, "contentNotResynced": true, "leftAlone": [ "string" ], "inventoryUnreadable": 0 } ]}Accept a difference before cutover POST
Signs off one exact difference between what Argo CD or Flux applied and Wardn's render, on one object of the deployment's latest comparison, with why. Only a person may, never an agent. The difference must still need a person and have the `fingerprint` the caller saw (from the live diff's `review`):
Cut an imported deployment over POST
Asks for the deployment to be taken over from Argo CD or Flux, as the person who reviewed it: `reviewDigest` must be the preview's, worked out again now. Only a person may, never an agent. When the guardrails ask for approvals the attempt is `awaiting_approval` and `approval.requestId` names the req