Skip to content

PATCH /api/v1/tasks/{guid}

Status: GA Access: token required API contract: 0.3.0 · capability 2026-09-03.1 View as Markdown Open in Claude Open in ChatGPT

Patch

Change status (open↔closed) / reassign / edit; logs each field change.

Auth: Authorization: Bearer <token> required

Terminal window
curl -sS -X PATCH "https://entherium.duckdns.org:8443/api/v1/tasks/<guid>" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"description":"Done: examples added to 17 request schemas","status":"closed"}'
{
"area": "platform",
"assignee_id": 2,
"assignee_name": "Owner",
"createtime": "2026-09-03T08:00:00Z",
"description": "Ten key schemas, one example each",
"guid": 118,
"owner": 5,
"spec_ref": "SPEC-NNN",
"status": "open",
"title": "Add request examples to the public contract",
"updatetime": "2026-09-03T08:00:00Z"
}

TaskRead — Successful Response

FieldTypeDescription
areastring | null (opt.)
assignee_idinteger | null
assignee_namestring | null (opt.)
closed_atstring | null
createtimestring
descriptionstring | null
guidinteger
ownerinteger | null
spec_refstring | null (opt.)
statusstring
titlestring
updatetimestring
ParameterInRequiredTypeDefaultConstraintsDescription
guidpathyesinteger——
Idempotency-Keyheadernostring—uuidOptional.
FieldTypeRequiredDescription
areastring | nullno
assignee_idinteger | nullno
descriptionstring | nullno
spec_refstring | nullno
status"open" | "closed" | nullno
titlestring | nullno

Example:

{
"description": "Done: examples added to 17 request schemas",
"status": "closed"
}
CodeMeaningBody
401Missing or invalid authentication credentialsErrorResponse
409Illegal status transition (e.g. closing an already-closed task)ErrorResponse
422Validation ErrorHTTPValidationError

Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.