Spec
Apply Workflow Spec to Existing Workflow
Apply a declarative YAML spec to an existing workflow draft.
The URL workflow id is the update target. Any workflow id in the YAML is treated as source context.
POST
Apply a declarative workflow YAML spec to an existing workflow draft.
The
workflow_id in the URL is the update target. If the YAML includes metadata.id, Retab treats it as source context and does not use it to choose a different workflow.
Authorizations
Path Parameters
Body
application/json
Body carrying a workflow's full YAML definition for validate, plan, apply, or export.
Workflow YAML definition
Response
Successful Response
The outcome of applying a workflow YAML definition: whether the workflow was created, the changes made, and a rendered_plan.
Available options:
create, update, noop