Pipelines
Preview

List a pipeline's versions

Every saved version, newest first, with what changed, who saved it and who reviewed it.

GET
/pipelines/{pipelineId}/versions
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

pipelineId*string
Formatuuid
limit?integer

Page size. Defaults to 50, at most 200.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from a previous page's nextCursor.

Response Body

A page of versions.

application/json
  1. response
items*array<>
nextCursor?string
total*integer
Example Request
curl -X GET 'https://wardn.example.com/api/v1/pipelines/497f6eca-6276-4993-bfeb-53cbbbba6f08/versions'
Example Response
{  "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}