Skip to main content

handle_run_workflow

Function handle_run_workflow 

Source
pub async fn handle_run_workflow(
    __arg0: State<AppState>,
    headers: HeaderMap,
    __arg2: Path<String>,
    body: Option<Json<RunWorkflowBody>>,
) -> impl IntoResponse
Expand description

POST /api/workflows/run/{name}

Triggers a workflow run request. Creates a workflow-run-request item in Kumiho so the scheduler or operator can pick it up.