List the prunes held for a deployment
When an apply would remove more of the deployment's objects than its prune limit allows, the operator removes nothing and the prune waits here for a person.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidopen?booleanOnly the prunes still waiting for a decision.
The held prunes, newest first.
application/json- response
items*array<>curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/held-prunes'{ "items": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2", "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "reason": "string", "objects": [ { "group": "string", "version": "string", "kind": "string", "namespace": "string", "name": "string" } ], "state": "held", "heldAt": "2019-08-24T14:15:22Z", "decidedBy": "string", "decidedAt": "2019-08-24T14:15:22Z" } ]}Replace how a deployment is delivered PUT
Replaces every group. Delivery and jobs take effect with the next apply; a prune larger than `maxPrunePercent` of the deployment's objects is held for a person. With previews on, every pull request on the repository of one of its apps gets a deployment of its own until the pull request closes or the
Approve a held prune POST
Sends the same snapshot to the cluster again with the hold lifted, once, so the objects it dropped are removed. A prune that is no longer waiting is a conflict.