Publish a Spec
Changed onPublishes the draft as the next version and makes it the version new runs use. Nothing is published when the draft has errors (422) or when it has issues you have not acknowledged: the 422 lists them, and you retry with acknowledge_issues: true. Send expected_draft_revision to make sure you publish what you reviewed (409 otherwise). When runs are in flight the version is published and activation_pending is true until they finish. Publishing an unchanged draft returns the current version. Requires specs:write.
Request
- Base URLhttps://api.talonic.com
- AuthHTTP bearer
Path parameters
Request body
Proceed over the issues a previous attempt listed.
The draft revision you reviewed; a mismatch is a 409.
Response
Published.
The schema new runs use: pass it as spec_id to POST /v1/run, or as schema_id to POST /v1/pipelines.
New runs use this version now.
Published
Changes
- info
endpoint added
- info