GET /api/v1/entities/{name}
List Records
List entity records — paginated, sortable, filterable.
Any query param that is not a control param (limit/offset/sort/
include_meta) is read as a column filter: col (equals), col_like
(ILIKE), col_from/col_to (range). Large JSON/text columns are
truncated to a preview stub; ?include_meta=true adds the runtime schema.
Авторизация: нужен Authorization: Bearer <token>
curl -sS -X GET "https://entherium.duckdns.org:8443/api/v1/entities/<name>" \ -H "Authorization: Bearer <token>"Ответ 200
Заголовок раздела «Ответ 200»В контракте нет примера для этого ответа; схема: EntityListResponse. Поля — в интерактивном обозревателе.
Возвращает
Заголовок раздела «Возвращает»EntityListResponse — Successful Response
| Поле | Тип | Описание |
|---|---|---|
items | массив object | |
limit | integer | |
meta | EntityMeta | null (opt.) | |
offset | integer | |
total | integer |
Параметры
Заголовок раздела «Параметры»| Параметр | Где | Обязателен | Тип | По умолчанию | Ограничения | Описание |
|---|---|---|---|---|---|---|
name | path | да | string | — | — | |
limit | query | нет | integer | 50 | min 1; max 500 | |
offset | query | нет | integer | 0 | min 0 | |
sort | query | нет | string | null | — | — | |
include_meta | query | нет | boolean | false | — | |
include_deleted | query | нет | boolean | false | — |
| Код | Смысл | Тело |
|---|---|---|
401 | Missing or invalid authentication credentials | ErrorResponse |
422 | Validation Error | HTTPValidationError |
Тело любой ошибки — {detail, code?, request_id, doc_url}: request_id — что цитировать, doc_url ведёт в Справочник ошибок.