-
Notifications
You must be signed in to change notification settings - Fork 0
/
insominia_kontent_all_routes.json
1 lines (1 loc) · 11.4 KB
/
insominia_kontent_all_routes.json
1
{"_type":"export","__export_format":4,"__export_date":"2022-09-30T20:35:03.346Z","__export_source":"insomnia.desktop.app:v2022.6.0","resources":[{"_id":"req_5d0fa40fc9d54163a698dfa39d7248f3","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569922621,"created":1664568790692,"url":"{{ _.baseUrl }}","name":"Listagem todos os conteúdos 200","description":"```\n[\n\t{\n\t\t\"id\": 2,\n\t\t\"title\": \"Python PATCH\",\n\t\t\"module\": \"M5\",\n\t\t\"students\": 2,\n\t\t\"description\": \"Python Fundamental PATCH\",\n\t\t\"is_active\": true\n\t},\n\t{\n\t\t\"id\": 3,\n\t\t\"title\": \"zerapythonteste\",\n\t\t\"module\": \"m20\",\n\t\t\"students\": 50,\n\t\t\"description\": \"teste\",\n\t\t\"is_active\": false\n\t},\n\t{\n\t\t\"id\": 4,\n\t\t\"title\": \"Django\",\n\t\t\"module\": \"m5\",\n\t\t\"students\": 5,\n\t\t\"description\": \"Ótimo framework\",\n\t\t\"is_active\": false\n\t},\n\t{\n\t\t\"id\": 5,\n\t\t\"title\": \"django\",\n\t\t\"module\": \"m6\",\n\t\t\"students\": 5,\n\t\t\"description\": \"missing key\",\n\t\t\"is_active\": false\n\t},\n\t{\n\t\t\"id\": 6,\n\t\t\"title\": \"django\",\n\t\t\"module\": \"m6\",\n\t\t\"students\": 5,\n\t\t\"description\": \"missing key\",\n\t\t\"is_active\": true\n\t},\n\t{\n\t\t\"id\": 7,\n\t\t\"title\": \"django\",\n\t\t\"module\": \"m6\",\n\t\t\"students\": 5,\n\t\t\"description\": \"missing key\",\n\t\t\"is_active\": true\n\t}\n]\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664568790692,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"wrk_e81aebe539ab456c8a65f01f8c6606d0","parentId":null,"modified":1664568780172,"created":1664568780172,"name":"KOTENT","description":"","scope":"collection","_type":"workspace"},{"_id":"req_b348d06246c54506a576a1aefb9e10d0","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569795286,"created":1664569289276,"url":"{{ _.baseUrl }}{% response 'body', 'req_7c16fd7cd0064b28854d10b8e737bdbd', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"Filtragem com id correto 200","description":"```\n{\n\t\"id\": 2,\n\t\"title\": \"Python PATCH\",\n\t\"module\": \"M5\",\n\t\"students\": 2,\n\t\"description\": \"Python Fundamental PATCH\",\n\t\"is_active\": true\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664568790348.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9d7ad5b611454d21b82249cd24ef4a89","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569643577,"created":1664569288296,"url":"{{ _.baseUrl }}100/","name":"Filtragem com id incorreto 400","description":"```\n{\n\t\"message\": \"Content not found.\"\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664568790176.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6140e74f10324ef8b3bc585d8f73a1a8","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569957301,"created":1664569847224,"url":"{{ _.baseUrl }}filter/?title={% response 'body', 'req_7c16fd7cd0064b28854d10b8e737bdbd', 'b64::JC50aXRsZQ==::46b', 'never', 60 %}","name":"Query Params correto 200","description":"```\n[\n\t{\n\t\t\"id\": 2,\n\t\t\"title\": \"Python PATCH\",\n\t\t\"module\": \"M5\",\n\t\t\"students\": 2,\n\t\t\"description\": \"Python Fundamental PATCH\",\n\t\t\"is_active\": true\n\t},\n\t{\n\t\t\"id\": 3,\n\t\t\"title\": \"Python PATCH Teste\",\n\t\t\"module\": \"M5\",\n\t\t\"students\": 50,\n\t\t\"description\": \"Python Fundamental PATCH\",\n\t\t\"is_active\": false\n\t},\n\t{\n\t\t\"id\": 8,\n\t\t\"title\": \"Python PATCH Teste\",\n\t\t\"module\": \"M5\",\n\t\t\"students\": 90,\n\t\t\"description\": \"Python Fundamental PATCH\",\n\t\t\"is_active\": true\n\t}\n]\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664568790090.875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9acb818e80cc4b11806d4c7c77c2822a","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664570025386,"created":1664569970857,"url":"{{ _.baseUrl }}filter/?title=naoexiste","name":"Query Params incorreto 404","description":"```\n{\n \"message\": \"Content not found.\"\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664568790047.9375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7c16fd7cd0064b28854d10b8e737bdbd","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569932525,"created":1664568790005,"url":"{{ _.baseUrl }}","name":"Criação de conteúdo 201","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"title\": \"Python\",\n \"module\": \"M5\",\n \"description\": \"Python Fundamental\",\n \"students\": 90,\n \"is_active\": true\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664568790005,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4f042568f3ff46049229c6bfd52260f2","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569125226,"created":1664568787996,"url":"{{ _.baseUrl }}","name":"Criação Falha Chaves Obrigatórias 400","description":"```\n{\n \"title\": \"missing key\",\n \"module\": \"missing key\",\n \"description\": \"missing key\",\n \"students\": \"missing key\",\n \"is_active\": \"missing key\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_accf4ecb6cf24b55b3619722ed611e4d"}],"authentication":{},"metaSortKey":-1664568787996,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9c9f3a55cac04b129fc6a8215591dec7","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569156265,"created":1664568786301,"url":"{{ _.baseUrl }}","name":"Criação Falha Valores com Tipos Errados 400","description":"```\n{\n \"title\": \"must be a str\",\n \"module\": \"must be a str\",\n \"description\": \"must be a str\",\n \"students\": \"must be a int\",\n \"is_active\": \"must be a bool\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \"title\": 1,\n \"module\": 2,\n \"description\": 3,\n \"students\": \"90\",\n \"is_active\": 3.1\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664568786301,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e0144b0598834fc3b2248bcf74b34572","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569766197,"created":1664569291021,"url":"{{ _.baseUrl }}{% response 'body', 'req_7c16fd7cd0064b28854d10b8e737bdbd', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"Atualização com id correto 200","description":"```\n{\n \"title\": \"Python PATCH Teste\",\n \"module\": \"M5\",\n \"description\": \"Python Fundamental PATCH\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"title\": \"Python PATCH Teste\",\n \"module\": \"M5\",\n \"description\": \"Python Fundamental PATCH\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664568786151,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0888324c97624781b7b244f897197365","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569840486,"created":1664569291701,"url":"{{ _.baseUrl }}100/","name":"Atualização com id incorreto 404","description":"```\n{\n\t\"error\": \"Content not found\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"title\": \"Python PATCH Teste\",\n \"module\": \"M5\",\n \"description\": \"Python Fundamental PATCH\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664568786101,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_757ca77d3f03429f8c1080780db52cd7","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569747006,"created":1664569684066,"url":"{{ _.baseUrl }}{% response 'body', 'req_7c16fd7cd0064b28854d10b8e737bdbd', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"Deleção com id correto 204","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664568786051,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_32b9ac581845497b8b4e7ceb3d372d3a","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664569834648,"created":1664569711605,"url":"{{ _.baseUrl }}100/","name":"Deleção com id incorreto 404","description":"```\n{\n\t\"error\": \"Content not found\"\n}\n```","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664568786001,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_0456c04ead81bee26a9d27e864c1759dda21a832","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664568838033,"created":1664568780195,"name":"Base Environment","data":{"baseUrl":"localhost:8000/api/contents/"},"dataPropertyOrder":{"&":["baseUrl"]},"color":null,"isPrivate":false,"metaSortKey":1664568780195,"_type":"environment"},{"_id":"jar_0456c04ead81bee26a9d27e864c1759dda21a832","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664568780199,"created":1664568780199,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_7070c51ff9c84f9eaf99445e5987de14","parentId":"wrk_e81aebe539ab456c8a65f01f8c6606d0","modified":1664568780185,"created":1664568780185,"fileName":"KOTENT","contents":"","contentType":"yaml","_type":"api_spec"}]}