Function handle_sop_run
pub async fn handle_sop_run(
__arg0: State<AppState>,
headers: HeaderMap,
__arg2: Path<String>,
__arg3: Json<SopRunBody>,
) -> Response<Body>Expand description
Fire a Manual run for the named SOP and return its run_id.
Thin exposure of the engine dispatch path the sop_execute tool uses:
builds a Manual SopEvent and calls dispatch_sop_event_to, which still
requires the SOP to declare a matching Manual trigger. The returned
run_id feeds straight into sops/{name}/runs/{run_id}/overlay.