Перейти к содержимому

POST /api/v1/tickets

Статус: GA Доступ: по токену контракт API: 0.3.0 · capability 2026-09-03.1 Открыть как Markdown Открыть в Claude Открыть в ChatGPT

File Ticket

Intake one report; return a bare 202.

Write-only fire-and-forget: no ticket id, no dedup verdict — a hostile or looping reporter gets nothing back to react to. Over the flood cap → 429; an oversized body → 413.

Авторизация: нужен Authorization: Bearer <token>

Окно терминала
curl -sS -X POST "https://entherium.duckdns.org:8443/api/v1/tickets" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{"actual":"The Description column is empty","component":"portal","environment":{"commit":"dcaf59d1"},"evidence":[{"type":"url","url":"https://enterium-developer-docs.pages.dev/developers/mcp/tools/entherium_create_task/"}],"expected":"Every parameter has a description","kind":"defect","severity":"sev3","steps_to_reproduce":["Open /developers/mcp/tools/entherium_create_task/","Look at the Parameters table"],"title":"Tool page renders an empty Description column"}'

В контракте нет примера для этого ответа; схема: object. Поля — в интерактивном обозревателе.

object — Successful Response

ПараметрГдеОбязателенТипПо умолчаниюОграниченияОписание
Idempotency-Keyheaderнетstring—uuidOptional.
ПолеТипОбязательноОписание
actualstring | nullнет
alternativesмассив string | nullнет
areastring | nullнет
behavior_casesмассив string | nullнет
bodystring | nullнет
componentstring | nullнет
contract_guidinteger | nullнет
environmentobject | nullнет
evidenceмассив EvidenceItem | nullнет
expectedstring | nullнет
expected_benefitstring | nullнет
fingerprintstring | nullнет
kindstring | nullнет
payloadobject | nullнет
problemstring | nullнет
proposed_changestring | nullнет
run_guidinteger | nullнет
severitystring | nullнет
spec_refstring | nullнет
steps_to_reproduceмассив string | nullнет
titlestringда

Пример:

{
"actual": "The Description column is empty",
"component": "portal",
"environment": {
"commit": "dcaf59d1"
},
"evidence": [
{
"type": "url",
"url": "https://enterium-developer-docs.pages.dev/developers/mcp/tools/entherium_create_task/"
}
],
"expected": "Every parameter has a description",
"kind": "defect",
"severity": "sev3",
"steps_to_reproduce": [
"Open /developers/mcp/tools/entherium_create_task/",
"Look at the Parameters table"
],
"title": "Tool page renders an empty Description column"
}
КодСмыслТело
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

Тело любой ошибки — {detail, code?, request_id, doc_url}: request_id — что цитировать, doc_url ведёт в Справочник ошибок.