Létrehozás a definícióból
POST
/api/v1/workflow/create/definitionCreate a new workflow from the client Args: request: The create workflow request user: The user to create the workflow for
cURL példa
curl -X POST \
'http://localhost:8000/api/v1/workflow/create/definition' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{}'Paraméterek
| Név | Hely | Típus | Leírás |
|---|---|---|---|
authorization | header | object | — |
X-API-Key | header | object | — |
Kérés törzse
application/jsonSéma megtekintése
{
"$ref": "#/components/schemas/CreateWorkflowRequest"
}Válaszok
200Successful Responseapplication/jsonSéma megtekintése
{
"$ref": "#/components/schemas/WorkflowResponse"
}404Not found422Validation Errorapplication/jsonSéma megtekintése
{
"$ref": "#/components/schemas/HTTPValidationError"
}