List a pipeline's versions
Every saved version, newest first, with what changed, who saved it and who reviewed it.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
pipelineId*stringuuidlimit?integerPage size. Defaults to 50, at most 200.
1 <= value <= 20050cursor?stringOpaque cursor from a previous page's nextCursor.
A page of versions.
application/json- response
items*array<>nextCursor?stringtotal*integercurl -X GET 'https://wardn.example.com/api/v1/pipelines/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions'{ "items": [ { "version": 0, "summary": "string", "createdBy": { "id": "string", "name": "string" }, "appliedRole": "string", "draftNumber": 0, "appliedWithoutReview": true, "reviewedBy": { "id": "string", "name": "string" }, "restoredFrom": 0, "createdAt": "2019-08-24T14:15:22Z" } ], "nextCursor": "string", "total": 0}Approve or decline a change waiting for a review POST
Records the caller's decision. It takes `pipeline:read`: what decides is whether the caller is an approver of this draft (an owner of the organization, an admin of the pipeline's owner team, or a member of a team its settings name), and anyone else is refused (409 `pipeline.review_refused`). A decli
Restore an earlier version POST
Saves a copy of an earlier version as the newest, so nothing is lost and runs under way are untouched. Answers 404 for a version the pipeline never had and 409 `pipeline.version_conflict` when the pipeline has moved on from `expectedVersion`.