Apply the deployment's snapshot again
Queues the snapshot the deployment wants, or the one it runs when it wants none, through the normal delivery path for its cluster or for every cluster of its environment. Use it to retry a failed apply. Answers 409 while an apply is queued or under way. Writes an Activity entry. Needs `deployment:sy
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 <= 255The snapshot was queued.
application/json- response
snapshotId*stringThe snapshot that was queued again.
uuidcurl -X POST 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/sync'{ "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861"}Discard a held snapshot POST
Refuses a held snapshot for good. The deployment keeps running what it ran, and a later commit renders a new snapshot. A snapshot that is not held is a conflict.
Read how a deployment is shared, who holds it and who waits GET
Returns the shared-use settings, the claim that holds the deployment now (absent when nobody does), the requests waiting for it, oldest first, and what the caller may do. A deployment that is not shared answers with `settings.enabled` false. Needs `deployment:read`.