/
Anubis55
/
Web-Polytech
Обзор
Документация
Войти
/
Anubis55
/
Web-Polytech
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
ComicVerse_API.json
341 строка
7 KB
Anubis55
добавлены сериализаторы. Создана коллекция запросов в Postman
24 июн 2026, 11:40
24 июн 2026, 11:40
8a24169
Код
Авторство
О чём код?
{ "info": { "_postman_id": "37316db7-4e0a-47aa-adf8-c3b2c4a089b8", "name": "ComicVerse API", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "_exporter_id": "56132756", "_collection_link": "https://go.postman.co/collection/56132756-37316db7-4e0a-47aa-adf8-c3b2c4a089b8?source=collection_link" }, "item": [ { "name": "List all comics", "request": { "method": "GET", "header": [], "url": { "raw": "http://127.0.0.1:8000/api/comics/", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "comics", "" ] } }, "response": [] }, { "name": "Get comic by ID", "request": { "method": "GET", "header": [], "url": { "raw": "http://127.0.0.1:8000/api/comics/1/", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "comics", "1", "" ] } }, "response": [] }, { "name": "List chapters for comic", "request": { "method": "GET", "header": [], "url": { "raw": "http://127.0.0.1:8000/api/chapters/?comic=1", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "chapters", "" ], "query": [ { "key": "comic", "value": "1" } ] } }, "response": [] }, { "name": "Create comment", "request": { "auth": { "type": "noauth" }, "method": "POST", "header": [ { "key": "Authorization", "value": "YWRtaW46YWRtaW4=", "type": "text", "disabled": true }, { "key": "Cookie", "value": "fpehzz8wvtsfsofeb1hc7mz12vg6wdwb", "type": "text", "disabled": true } ], "body": { "mode": "raw", "raw": "{\r\n \"comic\": 1,\r\n \"text\": \"Тест от Postman\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:8000/api/comments/", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "comments", "" ] } }, "response": [] }, { "name": "Update comment", "request": { "method": "PUT", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"comic\": 1,\r\n \"text\": \"Обновлённый текст Postman\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:8000/api/comments/17/", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "comments", "17", "" ] } }, "response": [] }, { "name": "Delete comment", "request": { "method": "DELETE", "header": [], "url": { "raw": "http://127.0.0.1:8000/api/comments/17/", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "comments", "17", "" ] } }, "response": [] }, { "name": "List favorites", "request": { "method": "GET", "header": [], "url": { "raw": "http://127.0.0.1:8000/api/favorites/", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "favorites", "" ] } }, "response": [] }, { "name": "Add favorite", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "admin", "type": "string" }, { "key": "username", "value": "admin", "type": "string" } ] }, "method": "POST", "header": [], "body": { "mode": "raw", "raw": "{\r\n \"comic\": 1,\r\n \"status\": \"reading\"\r\n}", "options": { "raw": { "language": "json" } } }, "url": { "raw": "http://127.0.0.1:8000/api/favorites/", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "favorites", "" ] } }, "response": [] }, { "name": "Delete favorite", "request": { "method": "DELETE", "header": [], "url": { "raw": "http://127.0.0.1:8000/api/favorites/9/", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "favorites", "9", "" ] } }, "response": [] }, { "name": "Filter comics by status", "request": { "method": "GET", "header": [], "url": { "raw": "http://127.0.0.1:8000/api/comics/?status=ongoing", "protocol": "http", "host": [ "127", "0", "0", "1" ], "port": "8000", "path": [ "api", "comics", "" ], "query": [ { "key": "status", "value": "ongoing" } ] } }, "response": [] }, { "name": "Search comics by title", "request": { "method": "GET", "header": [] }, "response": [] }, { "name": "Filter comics by genre", "request": { "method": "GET", "header": [] }, "response": [] } ] }