cURL
curl --request PATCH \ --url http://localhost:3000/api/v1/tasks/{taskId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "description": "<string>", "assignTo": "<string>", "status": "draft", "expectations": [ null ], "retries": 1, "maxRetries": 1, "sideEffects": true } '
{ "ok": true, "data": null }
API key passed as a Bearer token. Configure via the apiKeys field in polpo.json or the POLPO_API_KEY environment variable.
1
draft
pending
awaiting_approval
assigned
in_progress
review
done
failed
x >= 0
Task updated