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

API: tickets

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

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>

ПараметрГдеОбязателенТипОписание
kindqueryнетstring | nulldefect|incident|suggestion (default: the defect/incident board)
statusqueryнетstring | nullopen|closed
componentqueryнетstring | null
areaqueryнетstring | nullplatform|pipelines|instances|other
severityqueryнетstring | null
sincequeryнетstring | nulltickets created at/after this UTC time
limitqueryнетinteger

Ответы:

КодСмыслТело
200Successful Responseмассив TicketRead
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

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>

ПараметрГдеОбязателенТипОписание
Idempotency-KeyheaderнетstringOptional.

Тело запроса: application/json — схема TicketReportIn

ПолеТипОбязательноОписание
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"
}

Ответы:

КодСмыслТело
202Successful Responseobject
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError

Transition Ticket

Открыть отдельной страницей →

Resolve / dismiss / promote a ticket, state-machine-guarded.

Owner-only. An illegal transition (e.g. closing an already-closed ticket) → 409.

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

ПараметрГдеОбязателенТипОписание
guidpathдаinteger
Idempotency-KeyheaderнетstringOptional.

Тело запроса: application/json — схема TicketPatch

ПолеТипОбязательноОписание
action"resolve" | "dismiss" | "promote" | "target" | "reopen" | "edit"да
descriptionstring | nullнет
promoted_tostring | nullнет
resolutionstring | nullнет
severity"sev1" | "sev2" | "sev3" | "sev4" | nullнет
spec_refstring | nullнет
titlestring | nullнет

Пример:

{
"action": "resolve",
"resolution": "fixed in build 0.3.1; verified on the live URL"
}

Ответы:

КодСмыслТело
200Successful ResponseTicketRead
401Missing or invalid authentication credentialsErrorResponse
422Validation ErrorHTTPValidationError