Replace a pipeline's settings
Name, description, owner team (the caller must be able to read the new team) and settings. These are not part of the graph, so they do not make a version. Changes to the review policy, previews and notifications take effect from the next change or event. A change that loosens review (turns it off, d
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
pipelineId*stringuuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255application/json- body
name*string1 <= length <= 63description?stringlength <= 500teamId*stringsettings*The updated settings.
application/json- response
id*stringuuidname*stringdescription*stringteamId*stringarchived*booleannewestVersion*integerapps*array<>settings*updatedAt*stringdate-timecurl -X PUT 'https://wardn.example.com/api/v1/pipelines/497f6eca-6276-4993-bfeb-53cbbbba6f08/settings' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "teamId": "string", "settings": { "changeReview": { "required": true, "reviewers": [ { "label": "string", "count": 1, "notAuthor": true } ] }, "runningReleases": "keep", "agentSuggestions": true, "previews": { "enabled": true, "appIds": [ "507005c2-bda5-4651-98c0-390a3efeade9" ] }, "notifications": [ { "kind": "slack", "target": "string", "on": "every_event" } ] }}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "teamId": "string", "archived": true, "newestVersion": 0, "apps": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ], "settings": { "changeReview": { "required": true, "adminsNeedReview": true, "reviewers": [ { "label": "string", "teamId": "string", "count": 1, "notAuthor": true } ] }, "runningReleases": "keep", "agentSuggestions": true, "previews": { "enabled": true, "appIds": [ "507005c2-bda5-4651-98c0-390a3efeade9" ], "builtLikeStageId": "string", "clusterId": "string", "namespacePattern": "string", "removeAfterIdleDays": 0, "sleepAfterIdleHours": 0, "maxOpen": 0 }, "notifications": [ { "kind": "slack", "target": "string", "on": "every_event", "stuckAfterSeconds": 0 } ] }, "updatedAt": "2019-08-24T14:15:22Z"}Get a pipeline's settings GET
Name, description, owner team and the settings the Settings page edits. Who may act on the pipeline is read and changed through the owners and role-binding operations on the `pipeline` place.
Archive a pipeline POST
Its apps stop belonging to it, so they can be promoted ad hoc or join another pipeline. Versions and runs stay. An archived pipeline cannot be changed.