List the promotions into a deployment
The snapshots that arrived by promotion, newest first, each with the snapshot it copies and who promoted it.
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.
OK.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/promotions'{ "items": [ { "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "sourceSnapshotId": "7f07e884-6f41-498e-a6a8-6365a22fbc3a", "source": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "visible": true }, "promotedBy": "string", "reason": "string", "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string"}Check a promotion before making it GET
What promoting the snapshot to this deployment would change, app by app, and the rules it must meet. Live rules: the snapshot is not held, the deployments hold the same apps, the target has no apply under way, and the protected-branch guardrail. Approvals and deploy windows are shape only (`not_conf
Promote a snapshot to a deployment POST
Copies the exact snapshot of another deployment holding the same apps into this one, as a new snapshot with origin `promotion` that names the one it copies, and delivers it the normal way. Nothing is rendered again. A held snapshot, a target with an apply under way, or a target holding other apps is