List a deployment's snapshots
The snapshots of the deployment, newest first, each without its manifest. A snapshot a render guard held shows its review state.
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.
A page of snapshots.
application/json- response
items*array<>nextCursor?stringcurl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/snapshots'{ "items": [ { "promotedFrom": { "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43", "origin": "sync", "commit": "string", "branch": "string", "sourceRepo": "string", "commitSubject": "string", "commitAuthor": "string", "committedAt": "2019-08-24T14:15:22Z", "apps": [ { "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "name": "string", "sourceRepo": "string", "sourcePath": "string", "renderType": "string", "commit": "string", "branch": "string", "branchProtected": true, "prNumber": 0, "pusher": "string", "commitSubject": "string", "commitAuthor": "string", "committedAt": "2019-08-24T14:15:22Z", "refKind": "branch", "refName": "string", "commitsSince": 0, "commitRange": [ { "sha": "string", "subject": "string", "author": "string" } ] } ], "manifestDigest": "string", "contentId": "string", "resourceCount": 0, "totalBytes": 0, "createdBy": "string", "createdAt": "2019-08-24T14:15:22Z", "reviewState": "held" } ], "nextCursor": "string"}Sign off or reject a snapshot POST
Records the caller's decision about the snapshot the deployment runs, in the stage it sits in: a sign-off, a sign-off with known issues where the stage accepts them, or a rejection with its reason. The snapshot's author cannot decide when the stage says so, and a person decides once. Answers the qua
Get a snapshot of a deployment GET
The snapshot with where it came from (repository, branch, commit, pull request and pusher), its review if a render guard held it, and a summary of its objects by kind. The objects themselves are read through the diff endpoints.