Archívum ügynök
PUT
/api/v1/workflow/{workflow_id}/statusUpdate the status of a workflow (e.g., archive/unarchive). Args: workflow_id: The ID of the workflow to update request: The status update request Returns: The updated workflow
cURL példa
curl -X PUT \
'http://localhost:8000/api/v1/workflow/{workflow_id}/status' \
-H 'Authorization: Bearer <API_KEY>' \
-H 'Content-Type: application/json' \
-d '{}'Paraméterek
| Név | Hely | Típus | Leírás |
|---|---|---|---|
workflow_idkötelező | path | integer | — |
authorization | header | object | — |
X-API-Key | header | object | — |
Kérés törzse
application/jsonSéma megtekintése
{
"$ref": "#/components/schemas/UpdateWorkflowStatusRequest"
}Válaszok
200Successful Responseapplication/jsonSéma megtekintése
{
"$ref": "#/components/schemas/WorkflowResponse"
}404Not found422Validation Errorapplication/jsonSéma megtekintése
{
"$ref": "#/components/schemas/HTTPValidationError"
}