GET /api/v1/tickets
List Board
The owner board — defects/incidents by default, or a vote-ranked suggestion
backlog with ?kind=suggestion. Team-readable (owner + team,
the defect section of the tasks board; agents still get 403.
Авторизация: нужен Authorization: Bearer <token>
curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/tickets" \ -H "Authorization: Bearer <token>"Ответ 200
Заголовок раздела «Ответ 200»В контракте нет примера для этого ответа; схема: массив TicketRead. Поля — в интерактивном обозревателе.
Возвращает
Заголовок раздела «Возвращает»массив TicketRead — Successful Response
| Поле | Тип | Описание |
|---|---|---|
area | string | null (opt.) | |
closed_at | string | null (opt.) | |
component | string | null (opt.) | |
contract_guid | integer | null (opt.) | |
createtime | string | |
description | string | null (opt.) | |
duplicate_of | integer | null (opt.) | |
evidence | object (opt.) | |
fingerprint | string | |
first_seen | string | null (opt.) | |
guid | integer | |
kind | string | |
last_seen | string | null (opt.) | |
occurrence_count | integer | |
promoted_to | string | null (opt.) | |
reporter | string | null (opt.) | |
repro | object (opt.) | |
resolution | string | null (opt.) | |
severity | string | null (opt.) | |
spec_ref | string | null (opt.) | |
status | string | |
title | string | |
vote_count | integer |
Параметры
Заголовок раздела «Параметры»| Параметр | Где | Обязателен | Тип | По умолчанию | Ограничения | Описание |
|---|---|---|---|---|---|---|
kind | query | нет | string | null | — | — | defect|incident|suggestion (default: the defect/incident board) |
status | query | нет | string | null | — | — | open|closed |
component | query | нет | string | null | — | — | |
area | query | нет | string | null | — | — | platform|pipelines|instances|other |
severity | query | нет | string | null | — | — | |
since | query | нет | string | null | — | date-time | tickets created at/after this UTC time |
limit | query | нет | integer | 100 | min 1; max 500 |
| Код | Смысл | Тело |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Тело любой ошибки — {detail, code?, request_id, doc_url}: request_id — что цитировать, doc_url ведёт в Справочник ошибок.