Accept a difference before cutover
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`):
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*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
ref*The object a difference is on. Its API version does not take part.
fingerprint*stringThe review.fingerprint the caller saw.
length <= 80reason*stringWhy the difference is expected.
1 <= length <= 1024The difference, accepted.
application/json- response
One object's difference, as accepted.
group*stringversion*stringkind*stringnamespace*stringname*stringreview*Where one object's difference from what Argo CD or Flux applied stands, for an imported deployment that observes.
curl -X POST 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/acceptances' \ -H 'Content-Type: application/json' \ -d '{ "ref": { "group": "string", "kind": "string", "namespace": "string", "name": "string" }, "fingerprint": "string", "reason": "string"}'{ "group": "string", "version": "string", "kind": "string", "namespace": "string", "name": "string", "review": { "state": "open", "change": "changed", "fingerprint": "string", "words": "string", "scope": "annotations", "count": 0, "classes": [ "content" ], "imagePin": "same_digest", "hook": true, "acceptedBy": { "id": "string", "name": "string" }, "acceptedAt": "2019-08-24T14:15:22Z", "reason": "string" }}Compare an imported deployment with its cluster again POST
Asks the cluster's operator to compare what Argo CD or Flux applied with Wardn's render again, as Refresh does: the snapshot the deployment wants, or `snapshotId`, another of its snapshots someone picked. A check already due or under way answers the request, and so does one asked for less than 10 se
Get an imported deployment's cutover GET
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