GET /api/v1/tasks/{guid}
Get Task Endpoint
One task + its merged change-log (agent actions and notes, time-ordered). Team-only; 404 if absent.
Авторизация: нужен Authorization: Bearer <token>
curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/tasks/<guid>" \ -H "Authorization: Bearer <token>"Ответ 200
Заголовок раздела «Ответ 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"}Возвращает
Заголовок раздела «Возвращает»TaskDetailRead — Successful Response
| Поле | Тип | Описание |
|---|---|---|
activity | массив TaskActivityItem (opt.) | |
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 |
Параметры
Заголовок раздела «Параметры»| Параметр | Где | Обязателен | Тип | По умолчанию | Ограничения | Описание |
|---|---|---|---|---|---|---|
guid | path | да | integer | — | — |
| Код | Смысл | Тело |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Тело любой ошибки — {detail, code?, request_id, doc_url}: request_id — что цитировать, doc_url ведёт в Справочник ошибок.