Record List
Значения поля и фильтра 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=4320
{ "count": 176485, "next": "http://wartears.org/api/v1/records/?format=api&limit=10&offset=4330", "previous": "http://wartears.org/api/v1/records/?format=api&limit=10&offset=4310", "results": [ { "id": 492887, "kind": 1, "names": [ "Старчевский Александр Александрович", "Старчевський Олександр Олександрович" ], "year_of_birth": 1984, "public_comment": "11.05.1984 г.р.\n113 бр ТрО.\nПо информации на 25.01.2025 находится в плену.\nОбмен 25.05.2025", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697734287, "record_id": 492887, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1984" } ], "attached_images": [ { "uid": "rc-upload-1753903028196-3", "record": 492887, "image": "http://wartears.org/media/record-492887/c136eabe5c84d001dd9e6fb4e74661d8.jpg" } ] }, { "id": 507472, "kind": 1, "names": [ "Стеблев Константин Алексеевич", "Стаблев Костянтин Олексійович" ], "year_of_birth": 1994, "public_comment": "17.01.1994 г.р.\nСтарший матрос, старший оператор,36 ОБрМП, в/ч А2802.\nСдался в плен на заводе им. Ильича в Мариуполе, апрель 2022.\nОбмен 25.05.2025", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697734278, "record_id": 507472, "attribute_kind_id": 1, "attribute_kind_slug": "military-unit", "value": "А2802" }, { "id": 697734279, "record_id": 507472, "attribute_kind_id": 3, "attribute_kind_slug": "rank", "value": "старший матрос" }, { "id": 697734281, "record_id": 507472, "attribute_kind_id": 4, "value": "Оператор" }, { "id": 697734282, "record_id": 507472, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1994" } ], "attached_images": [ { "uid": "3571cf19-2fd6-48f6-860d-8109b7649cc1", "record": 507472, "image": "http://wartears.org/media/record-221182/d2b5ca33bd970f64a6301fa75ae2eb22.png" } ] }, { "id": 506503, "kind": 1, "names": [ "Сосюк Олег Викторович", "Сосюк Олег Вікторович" ], "year_of_birth": 1993, "public_comment": "22.06.1993 г.р.\nОбмен 25.05.2025", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697734187, "record_id": 506503, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1993" } ], "attached_images": [] }, { "id": 506502, "kind": 1, "names": [ "Сорохан Николай Иванович", "Сорухан Николай Иванович", "Сорохан Микола Іванович" ], "year_of_birth": 1984, "public_comment": "01.04.1984 г.р. г. Черновцы.\nВодитель. 4 рота, 3 взвод, 3 отделение, 79 мех бат. 60 мех. бригада.\nПо информации на 01.12.2023 находится в плену.\nОбмен 25.05.2025", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697734173, "record_id": 506502, "attribute_kind_id": 4, "value": "водитель" }, { "id": 697734174, "record_id": 506502, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1984" } ], "attached_images": [ { "uid": "1fb35dba-8b04-4ed5-9ca4-62d5a8d7ff33", "record": 506502, "image": "http://wartears.org/media/record-286403/20ddd0f9610c01fedcbc4f005150aef0.jpg" } ] }, { "id": 305371, "kind": 1, "names": [ "Сорокин Александр Николаевич", "Сорокін Олександр Миколайович" ], "year_of_birth": 1982, "public_comment": "03.07.1982 г.р. с. Бунянино, Сумская обл.\nСолдат, стрелок, 1 танковая бригада, в/ч А1815.\nВзят в плен на новосёлковско-угледарском направлении.\nПо информации на 04.11.2023 находится в плену. \nОбмен 25.05.2025", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697734122, "record_id": 305371, "attribute_kind_id": 1, "attribute_kind_slug": "military-unit", "value": "А1815" }, { "id": 697734123, "record_id": 305371, "attribute_kind_id": 3, "attribute_kind_slug": "rank", "value": "Солдат" }, { "id": 697734125, "record_id": 305371, "attribute_kind_id": 4, "value": "Стрелок" }, { "id": 697734126, "record_id": 305371, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1982" } ], "attached_images": [ { "uid": "803347b3-6550-41a6-b6bf-acf6aefa3ecb", "record": 305371, "image": "http://wartears.org/media/record-282548/e6df1994b3b988a6d763f92c716791c8.jpg" } ] }, { "id": 506498, "kind": 1, "names": [ "Соколов Ярослав Викторович", "Соколов Ярослав Вікторович" ], "year_of_birth": 1988, "public_comment": "06.07.1988 г.р.\n110 омбр.\nОбмен 25.05.2025", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697734051, "record_id": 506498, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1988" } ], "attached_images": [] }, { "id": 476807, "kind": 1, "names": [ "Смилянец Анатолий Васильевич", "Смілянець Анатолій Васильович" ], "year_of_birth": 1978, "public_comment": "25.02.1978 г.р.\nСолдат, оператор 2 противотанкового отделения противотанкового взвода, 2 механизированного батальона, 30 ОМехБр, в/ч А0409.\nПо информации на 09.04.2023 находится в плену с 09.03.2022.\nОбмен 25.05.2025", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697734002, "record_id": 476807, "attribute_kind_id": 1, "attribute_kind_slug": "military-unit", "value": "А0409" }, { "id": 697734003, "record_id": 476807, "attribute_kind_id": 1, "attribute_kind_slug": "military-unit", "value": "А4583" }, { "id": 697734004, "record_id": 476807, "attribute_kind_id": 3, "attribute_kind_slug": "rank", "value": "Солдат" }, { "id": 697734006, "record_id": 476807, "attribute_kind_id": 4, "value": "водитель" }, { "id": 697734007, "record_id": 476807, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1978" } ], "attached_images": [ { "uid": "rc-upload-1753901990708-3", "record": 476807, "image": "http://wartears.org/media/record-476807/4947aa6f4a105c53d9010806fbb404fc.jpg" } ] }, { "id": 307315, "kind": 1, "names": [ "Смолярчук Петр Петрович", "Смолярчук Петро Петрович" ], "year_of_birth": 1986, "public_comment": "13.09.1986 г.р. г. Кривой Рог.\nСолдат, в/ч А7014.\nПо информации на 01.10.2023 находится в плену.\nОбмен 25.05.2025.", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697733922, "record_id": 307315, "attribute_kind_id": 1, "attribute_kind_slug": "military-unit", "value": "А7014" }, { "id": 697733923, "record_id": 307315, "attribute_kind_id": 3, "attribute_kind_slug": "rank", "value": "Старший солдат" }, { "id": 697733925, "record_id": 307315, "attribute_kind_id": 4, "value": "водитель" }, { "id": 697733926, "record_id": 307315, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1986" } ], "attached_images": [ { "uid": "a0b714c7-4b34-4799-b5aa-1877732c78c9", "record": 307315, "image": "http://wartears.org/media/record-152421/c67b9a884b3009998c925cdc3e508d5d.jpg" } ] }, { "id": 506497, "kind": 1, "names": [ "Смола Александр Михайлович", "Смола Олександр Михайлович" ], "year_of_birth": 1984, "public_comment": "11.09.1984 г.р.\nМастер сержант, Донецкий пограничный отряд, в/ч А9937.\nПо информации на 16.02.2023 находится в плену.\nОбмен 25.05.2025", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697733904, "record_id": 506497, "attribute_kind_id": 1, "attribute_kind_slug": "military-unit", "value": "А9937" }, { "id": 697733905, "record_id": 506497, "attribute_kind_id": 3, "attribute_kind_slug": "rank", "value": "Сержант" }, { "id": 697733907, "record_id": 506497, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1984" } ], "attached_images": [] }, { "id": 308092, "kind": 1, "names": [ "Смирнов Станислав Александрович", "Смірнов Станіслав Олександрович" ], "year_of_birth": 1989, "public_comment": "20.10.1989 г.р.\nСтарший солдат, ТРО.\nВзят в плен в г. Мариуполь\nПо информации на 13.07.2023 находится в плену.\nОбмен 25.05.2025.", "last_modified": "2025-07-30", "tags": [], "attributes": [ { "id": 697733834, "record_id": 308092, "attribute_kind_id": 3, "attribute_kind_slug": "rank", "value": "Старший солдат" }, { "id": 697733836, "record_id": 308092, "attribute_kind_id": 2, "attribute_kind_slug": "year-of-birth", "value": "1989" } ], "attached_images": [ { "uid": "a7948616-7f7e-4150-8553-60c709341b1b", "record": 308092, "image": "http://wartears.org/media/record-258315/ff84ee0372a348473816de0eb1c8fb71.jpg" } ] } ] }
WarTears.org