Значения поля и фильтра 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=4620
HTTP 200 OK
Allow: GET, POST, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "count": 176512,
    "next": "http://wartears.org/api/v1/records/?format=api&limit=10&offset=4630",
    "previous": "http://wartears.org/api/v1/records/?format=api&limit=10&offset=4610",
    "results": [
        {
            "id": 504559,
            "kind": 1,
            "names": [
                "Кохановский Сергей Владимирович",
                "Кохановський Сергій Володимирович"
            ],
            "year_of_birth": 1969,
            "public_comment": "04.12.1969 г.р.\nСтарший солдат, в/ч А7037.\nВзят в плен не позднее 20.05.2022.\nОбмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697721137,
                    "record_id": 504559,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А7737"
                },
                {
                    "id": 697721138,
                    "record_id": 504559,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А7037"
                },
                {
                    "id": 697721139,
                    "record_id": 504559,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Старший солдат"
                },
                {
                    "id": 697721141,
                    "record_id": 504559,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1969"
                }
            ],
            "attached_images": [
                {
                    "uid": "51814360-7d12-472a-bedd-fe735af12b2b",
                    "record": 504559,
                    "image": "http://wartears.org/media/record-8329/97c2a9bd996220958a9a303982dccca8.jpg"
                }
            ]
        },
        {
            "id": 504556,
            "kind": 1,
            "names": [
                "Котвицкий Дмитрий Викторович",
                "Котвіцький Дмитро Вікторович"
            ],
            "year_of_birth": 1980,
            "public_comment": "11.11.1980 г.р.\nПрапорщик, Донецкий пограничный отряд, А9937.\nВ плену с 16.05.2022.\nОбмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697721090,
                    "record_id": 504556,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А9937"
                },
                {
                    "id": 697721092,
                    "record_id": 504556,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1980"
                }
            ],
            "attached_images": [
                {
                    "uid": "rc-upload-1753599396753-4",
                    "record": 504556,
                    "image": "http://wartears.org/media/record-504556/3b030f46c92862848310f455e08b90f9.jpg"
                }
            ]
        },
        {
            "id": 504552,
            "kind": 1,
            "names": [
                "Косюк Александр Викторович",
                "Костюк Олександр Вікторович"
            ],
            "year_of_birth": 1988,
            "public_comment": "22.06.1988 г.р., г Хмельницкий.\nМладший сержант, 153 омбр ВСУ.\nВзят в плен в Курахово.\nПо информации на 04.01.2025 находится в плену.\nОбмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697721055,
                    "record_id": 504552,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Младший сержант"
                },
                {
                    "id": 697721057,
                    "record_id": 504552,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1988"
                }
            ],
            "attached_images": [
                {
                    "uid": "633425cf-1c68-429d-b40e-005fd5bf3348",
                    "record": 504552,
                    "image": "http://wartears.org/media/record-485405/516866ae089a5092b6e8801ae2311bd9.jpg"
                },
                {
                    "uid": "ed15449e-3078-439a-92c9-c4ff8aae5f49",
                    "record": 504552,
                    "image": "http://wartears.org/media/record-485405/17fff2a184caf3ee518cdfebf618e204.jpg"
                }
            ]
        },
        {
            "id": 504549,
            "kind": 1,
            "names": [
                "Косован Василий Васильевич",
                "Косован Василь Васильович"
            ],
            "year_of_birth": 1979,
            "public_comment": "03.11.1979 г.р. с. Джуров, Ивано-Франковская обл.\nРядовой, санитар-стрелок, 14 БрОН НГУ.\nПо информации на 21.10.2023 находится в плену.\nОбмен 25 мая 2025 года.",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697721016,
                    "record_id": 504549,
                    "attribute_kind_id": 4,
                    "value": "Стрелок"
                },
                {
                    "id": 697721017,
                    "record_id": 504549,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1979"
                }
            ],
            "attached_images": [
                {
                    "uid": "3f84e2cd-7c25-47d5-8c42-4d06771aa942",
                    "record": 504549,
                    "image": "http://wartears.org/media/record-279293/8be68cd1d7045375f2830665bfd2c4d1.jpg"
                }
            ]
        },
        {
            "id": 504292,
            "kind": 1,
            "names": [
                "Коротков Максим Иванович",
                "Коротков Максим Іванович"
            ],
            "year_of_birth": 1985,
            "public_comment": "10.12.1985 г.р.\nПограничник, в/ч 9937.\nПо информации на 14.02.2024 находится в плену.\nОбмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697720969,
                    "record_id": 504292,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А9937"
                },
                {
                    "id": 697720970,
                    "record_id": 504292,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Солдат"
                },
                {
                    "id": 697720972,
                    "record_id": 504292,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1985"
                }
            ],
            "attached_images": [
                {
                    "uid": "935b28ce-7ba5-4805-82c5-52333221cb82",
                    "record": 504292,
                    "image": "http://wartears.org/media/record-493615/0a1bd658b9715a8de357851952ac1dfd.jpg"
                }
            ]
        },
        {
            "id": 504279,
            "kind": 1,
            "names": [
                "Коренной Сергей Петрович",
                "Корінний Сергій Петрович"
            ],
            "year_of_birth": 1980,
            "public_comment": "06.10.1980 г.р.\nСолдат, стрелок 9 рота 3 батальон, 110 бригада.\nобмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697720847,
                    "record_id": 504279,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А4007"
                },
                {
                    "id": 697720848,
                    "record_id": 504279,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Солдат"
                },
                {
                    "id": 697720850,
                    "record_id": 504279,
                    "attribute_kind_id": 4,
                    "value": "Стрелок"
                },
                {
                    "id": 697720851,
                    "record_id": 504279,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1980"
                }
            ],
            "attached_images": []
        },
        {
            "id": 504275,
            "kind": 1,
            "names": [
                "Конопеленюк Андрей Владимирович",
                "Конопельнюк Андрій Володимирович"
            ],
            "year_of_birth": 1978,
            "public_comment": "06.07.1978 г.р. житель Одесской области.\nВоеннослужащий 122 ОБРТРО ВСУ.\nПо информации на 12.02.2025 находится в плену.\nОбмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697720805,
                    "record_id": 504275,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1978"
                }
            ],
            "attached_images": [
                {
                    "uid": "9904fbea-3496-4496-8413-0955be8309fd",
                    "record": 504275,
                    "image": "http://wartears.org/media/record-472310/394d818b414588b8a208d64e94885897.jpg"
                },
                {
                    "uid": "rc-upload-1753589010810-4",
                    "record": 504275,
                    "image": "http://wartears.org/media/record-504275/318a20e4759a5e9d99e2e3f202c8e62a.jpg"
                }
            ]
        },
        {
            "id": 496312,
            "kind": 1,
            "names": [
                "Коленюк Юрий Иосифович",
                "Каленюк Юрій Йосипович"
            ],
            "year_of_birth": 1972,
            "public_comment": "26.07.1972 г.р.\nв/ч А2802.\nПо информации на 05.03.2025 находится в плену.\nОбмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697720761,
                    "record_id": 496312,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А2802"
                },
                {
                    "id": 697720762,
                    "record_id": 496312,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Солдат"
                },
                {
                    "id": 697720764,
                    "record_id": 496312,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1972"
                }
            ],
            "attached_images": []
        },
        {
            "id": 504253,
            "kind": 1,
            "names": [
                "Козар Владимир Степанович",
                "Козар Володимир Степанович"
            ],
            "year_of_birth": 1975,
            "public_comment": "23.07.1975 г.р.\nСтрелок, ВСУ. Ранен.\nОбмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697720758,
                    "record_id": 504253,
                    "attribute_kind_id": 4,
                    "value": "Стрелок"
                },
                {
                    "id": 697720759,
                    "record_id": 504253,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1975"
                }
            ],
            "attached_images": []
        },
        {
            "id": 495999,
            "kind": 1,
            "names": [
                "Ковалев Александр Анатольевич",
                "Ковальов Олександр Анатолійович"
            ],
            "year_of_birth": 1989,
            "public_comment": "09.11.1989 г.р.\nСолдат, снайпер разведчик, в/ч А1035.\nВзят в плен 19.05.2022\nОбмен 25.05.2025",
            "last_modified": "2025-07-27",
            "tags": [],
            "attributes": [
                {
                    "id": 697720710,
                    "record_id": 495999,
                    "attribute_kind_id": 1,
                    "attribute_kind_slug": "military-unit",
                    "value": "А1035"
                },
                {
                    "id": 697720711,
                    "record_id": 495999,
                    "attribute_kind_id": 3,
                    "attribute_kind_slug": "rank",
                    "value": "Солдат"
                },
                {
                    "id": 697720713,
                    "record_id": 495999,
                    "attribute_kind_id": 2,
                    "attribute_kind_slug": "year-of-birth",
                    "value": "1989"
                }
            ],
            "attached_images": [
                {
                    "uid": "rc-upload-1753587703929-4",
                    "record": 495999,
                    "image": "http://wartears.org/media/record-495999/19faed9decf0ed85bfacb1f24f0a73ac.png"
                }
            ]
        }
    ]
}