Значения поля и фильтра kind:

  • 0 - Что угодно
  • 1 - Человек
  • 2 - Организация

Параметры запроса:

  • kind - если указан, то будут возвращены только записи этой разновидности (только люди или только организации соответственно)
  • offset - выбрать записи начиная с указаной
  • limit - выбрать столько записей (по-умолчанию 10, максимум - 1000)
  • id - выбрать только запись с этим идентификатором

Подробная схема - за кнопкой OPTIONS (HTTP OPTIONS запрос)

Постраничный вывод записей - ссылки в полях next и previous. Альтернативно - GET-параметры limit и offset.

GET /api/v1/records/?format=api&offset=4430
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 176504,
    "next": "http://wartears.org/api/v1/records/?format=api&limit=10&offset=4440",
    "previous": "http://wartears.org/api/v1/records/?format=api&limit=10&offset=4420",
    "results": [
        {
            "id": 308342,
            "kind": 1,
            "names": [
                "Рудченко Евгений Анатольевич",
                "Рудченко Євгеній Анатолійович"
            ],
            "year_of_birth": 1998,
            "public_comment": "06.02.1998 г.р. г. Покровск.\n58 ОМПБр.\nПо информации на 30.05.2025 находится в плену.\nОбмен 23.07.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [
                {
                    "id": 697730433,
                    "record_id": 308342,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1998"
                }
            ],
            "attached_images": [
                {
                    "uid": "cfbf4723-0367-457b-bb2c-dcfba51e0e87",
                    "record": 308342,
                    "image": "http://wartears.org/media/record-287601/025f2454bbf8ea3e72016230eb82a409.jpg"
                },
                {
                    "uid": "77c3ad0a-56ec-41ad-8ece-80f452e98b9b",
                    "record": 308342,
                    "image": "http://wartears.org/media/record-287601/3b24d3af26f8e14152b99f210ca874af.jpg"
                },
                {
                    "uid": "rc-upload-1737462880925-4",
                    "record": 308342,
                    "image": "http://wartears.org/media/record-308342/d2b5ca33bd970f64a6301fa75ae2eb22.png"
                }
            ]
        },
        {
            "id": 477126,
            "kind": 1,
            "names": [
                "Рудык Павел Павлович",
                "Рудик Павло Павлович"
            ],
            "year_of_birth": 1994,
            "public_comment": "07.10.1994 г.р. Балта, Одесской области.\nСолдат 35 ОБрМП ВСУ.\nСдался 23.06.2024 года\nОбмен 23.07.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [
                {
                    "id": 697730421,
                    "record_id": 477126,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Солдат"
                },
                {
                    "id": 697730423,
                    "record_id": 477126,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1994"
                }
            ],
            "attached_images": [
                {
                    "uid": "rc-upload-1722880897919-3",
                    "record": 477126,
                    "image": "http://wartears.org/media/record-477126/330d81f3809ee1f0ecd96b19ab779a21.jpg"
                }
            ]
        },
        {
            "id": 507392,
            "kind": 1,
            "names": [
                "Радіонов Андрій Олексійович",
                "Родіонов Андрій Олексійович",
                "Радионов Андрей Алексеевич"
            ],
            "year_of_birth": 1983,
            "public_comment": "08.11.1983 г.р.\nПо информации на 23.09.2024 находится в плену.\nОбмен 25.05.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [
                {
                    "id": 697730408,
                    "record_id": 507392,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1983"
                }
            ],
            "attached_images": []
        },
        {
            "id": 507390,
            "kind": 1,
            "names": [
                "Резнік Іван Ігорович",
                "Резник Иван"
            ],
            "year_of_birth": null,
            "public_comment": "По информации на 24.05.2025 находится в плену.\nОбмен 23.07.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [],
            "attached_images": []
        },
        {
            "id": 507388,
            "kind": 1,
            "names": [
                "Река Олег Сергійович",
                "Река Олег Сергеевич"
            ],
            "year_of_birth": 1996,
            "public_comment": "Дата рождения: 12.07.1996, г. Харьков, с. Новоматорово\nСтрелок гранатометчик, А3057\nОбмен 23.07.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [
                {
                    "id": 697730360,
                    "record_id": 507388,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А3057"
                },
                {
                    "id": 697730362,
                    "record_id": 507388,
                    "attribute_kind_id": 4,
                    "value": "Стрелок"
                },
                {
                    "id": 697730363,
                    "record_id": 507388,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1996"
                }
            ],
            "attached_images": []
        },
        {
            "id": 507386,
            "kind": 1,
            "names": [
                "Рогозин Ярослав Валерьевич",
                "Рагозін Ярослав Валерійович"
            ],
            "year_of_birth": null,
            "public_comment": "40 лет.\n58 ОМПБр ВСУ.\nПо информации на 31.07.2024 находится в плену.\nОбмен 23.07.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [],
            "attached_images": [
                {
                    "uid": "b4d9b473-aab1-433a-9d44-68680df827c0",
                    "record": 507386,
                    "image": "http://wartears.org/media/record-241766/796e9fdc5e02e601821aa5fc3ba25740.jpg"
                }
            ]
        },
        {
            "id": 507384,
            "kind": 1,
            "names": [
                "Прокопенко Микола Вадимович",
                "Прокопенко Николай Вадимович"
            ],
            "year_of_birth": 1977,
            "public_comment": "15.04.1977 г.р.\n17 бригада.\nПо информации на 27.05.2023 находится в плену.\nОбмен 23.07.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [
                {
                    "id": 697730281,
                    "record_id": 507384,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1977"
                }
            ],
            "attached_images": []
        },
        {
            "id": 453115,
            "kind": 1,
            "names": [
                "Попок Максим Игоревич",
                "Попок Максим Ігорович"
            ],
            "year_of_birth": 1993,
            "public_comment": "10.03.1993 г.р.\nСолдат, 82 ОДШБр ВСУ.\nПо информации на 03.05.2024 находится в плену.\nОбмен 23.07.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [
                {
                    "id": 697730223,
                    "record_id": 453115,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Солдат"
                },
                {
                    "id": 697730225,
                    "record_id": 453115,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1993"
                }
            ],
            "attached_images": [
                {
                    "uid": "751268bc-ae39-4f9f-8887-e39fe6915b4b",
                    "record": 453115,
                    "image": "http://wartears.org/media/record-453113/53b5f21324a8d84dbe7c9b3a95d946bc.jpg"
                },
                {
                    "uid": "a6a847da-4ce2-4478-833c-f8e4fc9633c8",
                    "record": 453115,
                    "image": "http://wartears.org/media/record-308683/3f43c08d6308e0f95576aee04051b8ed.jpg"
                }
            ]
        },
        {
            "id": 507382,
            "kind": 1,
            "names": [
                "Петренко Александр Анатольевич",
                "Петренко Олександр Анатолійович",
                "Петренко Александр Анатольевич "
            ],
            "year_of_birth": 1974,
            "public_comment": "15.08.1974 г.р.\nПо информации на 23.04.2023 находится в плену.\nСтарший солдат\nСтарший стрелок\nВСУ\n72-я отдельная механизированная бригада\nОбмен 23.07.2025",
            "last_modified": "2025-07-30",
            "tags": [],
            "attributes": [
                {
                    "id": 697730199,
                    "record_id": 507382,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А0536"
                },
                {
                    "id": 697730200,
                    "record_id": 507382,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Старший солдат"
                },
                {
                    "id": 697730202,
                    "record_id": 507382,
                    "attribute_kind_id": 4,
                    "value": "водитель"
                },
                {
                    "id": 697730203,
                    "record_id": 507382,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1974"
                }
            ],
            "attached_images": []
        },
        {
            "id": 506369,
            "kind": 1,
            "names": [
                "Розевич Роман Болеславович"
            ],
            "year_of_birth": 1980,
            "public_comment": "01.07.1980 г.р.\nОбмен 25.05.2025",
            "last_modified": "2025-07-29",
            "tags": [],
            "attributes": [
                {
                    "id": 697729986,
                    "record_id": 506369,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1980"
                }
            ],
            "attached_images": []
        }
    ]
}