PATCH /api/v1/tasks/{guid}
Patch
Change status (open↔closed) / reassign / edit; logs each field change.
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”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"}'Response 200
Section titled “Response 200”{ "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"}Returns
Section titled “Returns”TaskRead — Successful Response
| Field | Type | Description |
|---|---|---|
area | string | null (opt.) | |
assignee_id | integer | null | |
assignee_name | string | null (opt.) | |
closed_at | string | null | |
createtime | string | |
description | string | null | |
guid | integer | |
owner | integer | null | |
spec_ref | string | null (opt.) | |
status | string | |
title | string | |
updatetime | string |
Parameters
Section titled “Parameters”| Parameter | In | Required | Type | Default | Constraints | Description |
|---|---|---|---|---|---|---|
guid | path | yes | integer | — | — | |
Idempotency-Key | header | no | string | — | uuid | Optional. |
Request body
Section titled “Request body”| Field | Type | Required | Description |
|---|---|---|---|
area | string | null | no | |
assignee_id | integer | null | no | |
description | string | null | no | |
spec_ref | string | null | no | |
status | "open" | "closed" | null | no | |
title | string | null | no |
Example:
{ "description": "Done: examples added to 17 request schemas", "status": "closed"}Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
409 | Illegal status transition (e.g. closing an already-closed task) | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.