API
This specification
https://ecdsa.com/api/v1/openapi.jsonThe OpenAPI 3.1 document of this API, generated from the same operation definitions the server runs. The same document for every caller: cached by the CDN for an hour, not rate limited.
- API-ключ
- Не учитывается: ответ одинаков для всех
- Лимит запросов
- Нет: ответ отдаётся из кеша CDN
Запрос
Эта операция не принимает входных данных.
Ответы
200OpenAPI 3.1 document.
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
| openapi | string | да | The OpenAPI version, "3.1.0". |
| info | object | да |
|
| info.title | string | да | |
| info.version | string | да | |
| paths | object | да |
|
| Статус | Значение | Коды |
|---|---|---|
| 404 | Not found. | |
| 405 | Method not allowed. | |
| 500 | Internal server error. |
Каждый ответ с ошибкой содержит JSON-объект ошибки; что означает каждый код и что с ним делать, сказано в таблице ошибок.
Пример
The OpenAPI document
curl -sS 'https://ecdsa.com/api/v1/openapi.json'const response = await fetch("https://ecdsa.com/api/v1/openapi.json");
console.log(response.status, await response.json());import httpx
response = httpx.get("https://ecdsa.com/api/v1/openapi.json", timeout=30.0)
print(response.status_code, response.json())Ответ 200 занимает 109 КБ JSON — слишком много, чтобы показать его здесь: откройте его.
Ответ API на этот пример, полученный для этой страницы 20 октября 2026 г.; относительное время и количество дней в нём отсчитываются от этого дня.
Коды ошибок
| Код | Статус | Значение |
|---|---|---|
| not_found | 404 | No operation exists at this path. |
| method_not_allowed | 405 | The path exists but does not accept this HTTP method; see the Allow header. |
| internal_error | 500 | Unexpected server error. |
Схемы
Error
The error envelope of every non-2xx response.
| Поле | Тип | Обязательное | Описание |
|---|---|---|---|
| error | object | да | |
| error.code | string | да | Machine-readable error code. Each response lists the codes it can carry; new codes may be added within v1, so treat an unknown code by its HTTP status. |
| error.message | string | да | Human-readable explanation (English). |
| error.requestId | string | нет | The X-Request-Id of this request — quote it when reporting a problem. Sent since v1.1. |
| error.detail | object | нет | Structured context for the error, such as the offending field; omitted when there is none.
|
| error.docs | string | нет | Where the error codes are explained. Sent since v1.1.
|
Все операции перечислены в справочнике API.