---
title: POST /api/v1/tickets
description: File Ticket
locale: ru
version: 0.2.0
canonical: https://enterium-developer-docs.pages.dev/developers/ru/api/tickets/post-tickets/
---

> Documentation index: https://enterium-developer-docs.pages.dev/developers/llms.txt — every page of this portal has a Markdown twin at <route>.md; the frozen API contract is at https://enterium-developer-docs.pages.dev/developers/api/openapi.json.

:::note
Сгенерировано из OpenAPI-контракта — не редактировать руками. Сводки операций и описания полей приводятся на английском (дословно из контракта). Интерактивный обозреватель с полными схемами: [https://entherium.duckdns.org:8443/reference](https://entherium.duckdns.org:8443/reference); замороженная спецификация этой сборки: [openapi.json](/developers/api/openapi.json). Группа: [tickets](../).
:::

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>`

## Запрос

```sh
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"}'
```

## Ответ `202`

В контракте нет примера для этого ответа; схема: `object`. Поля — в [интерактивном обозревателе](https://entherium.duckdns.org:8443/reference).

## Возвращает

`object` — Successful Response

## Параметры

| Параметр | Где | Обязателен | Тип | По умолчанию | Ограничения | Описание |
| --- | --- | --- | --- | --- | --- | --- |
| `Idempotency-Key` | header | нет | `string` | — | uuid | Optional. |

## Тело запроса

| Поле | Тип | Обязательно | Описание |
| --- | --- | --- | --- |
| `actual` | `string \| null` | нет |  |
| `alternatives` | `массив string \| null` | нет |  |
| `area` | `string \| null` | нет |  |
| `behavior_cases` | `массив string \| null` | нет |  |
| `body` | `string \| null` | нет |  |
| `component` | `string \| null` | нет |  |
| `contract_guid` | `integer \| null` | нет |  |
| `environment` | `object \| null` | нет |  |
| `evidence` | `массив EvidenceItem \| null` | нет |  |
| `expected` | `string \| null` | нет |  |
| `expected_benefit` | `string \| null` | нет |  |
| `fingerprint` | `string \| null` | нет |  |
| `kind` | `string \| null` | нет |  |
| `payload` | `object \| null` | нет |  |
| `problem` | `string \| null` | нет |  |
| `proposed_change` | `string \| null` | нет |  |
| `run_guid` | `integer \| null` | нет |  |
| `severity` | `string \| null` | нет |  |
| `spec_ref` | `string \| null` | нет |  |
| `steps_to_reproduce` | `массив string \| null` | нет |  |
| `title` | `string` | да |  |

_Пример:_

```json
{
  "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"
}
```

## Ошибки

| Код | Смысл | Тело |
| --- | --- | --- |
| `401` | Missing or invalid authentication credentials | `ErrorResponse` |
| `422` | Validation Error | `HTTPValidationError` |

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