POST /api/v1/tasks/{guid}/notes
Add Task Note
Append a free-text note to the task’s log (stored as a comment).
Auth: Authorization: Bearer <token> required
Request
Section titled “Request”curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/tasks/<guid>/notes" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{"body_markdown":"Verified live: `/api/` answers with the machine map."}'Response 201
Section titled “Response 201”The contract carries no example for this response; schema: object. Field-level shape: interactive explorer.
Returns
Section titled “Returns”object — Successful Response
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 |
|---|---|---|---|
body_markdown | string | yes |
Example:
{ "body_markdown": "Verified live: `/api/` answers with the machine map."}Errors
Section titled “Errors”| Code | Meaning | Body |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
429 | Task intake rate exceeded; retry after the Retry-After seconds | ErrorResponse |
Every error body is {detail, code?, request_id, doc_url} — request_id is the value to quote, doc_url points at the Errors reference.