-
Notifications
You must be signed in to change notification settings - Fork 0
/
realizar_requisicoes.json
1 lines (1 loc) · 9.75 KB
/
realizar_requisicoes.json
1
{"_type":"export","__export_format":4,"__export_date":"2022-10-10T15:30:46.878Z","__export_source":"insomnia.desktop.app:v2022.6.0","resources":[{"_id":"req_d023234900814e6a8e690e58f412d0c0","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665415803258,"created":1664991883758,"url":"{{ _.baseUrl }}animals/","name":"Cadastrar animais 200","description":"expected\n\n```\n{\n\t\"id\": 1,\n\t\"name\": \"Beethoven\",\n\t\"age\": 1,\n\t\"weight\": \"30.00\",\n\t\"sex\": \"Macho\",\n\t\"traits\": [\n\t\t{\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"peludo\"\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"name\": \"médio porte\"\n\t\t}\n\t],\n\t\"group\": {\n\t\t\"id\": 1,\n\t\t\"name\": \"cão\",\n\t\t\"scientific_name\": \"canis familiaris\"\n\t}\n}\n\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"Beethoven\",\n \"age\": 1,\n \"weight\": 30,\n \"sex\": \"Macho\",\n \"group\": {\"name\": \"cão\", \"scientific_name\": \"canis familiaris\"},\n \"traits\": [{\"name\": \"peludo\"}, {\"name\": \"médio porte\"}]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664991883758,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"wrk_993d16b78287470b962f233f6b027d83","parentId":null,"modified":1664991732829,"created":1664991732829,"name":"kenzie_pet","description":"","scope":"collection","_type":"workspace"},{"_id":"req_f5d1583f94564eb286d1aa2c195406e2","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665002911855,"created":1664991909281,"url":"{{ _.baseUrl }}animals/","name":"Listar animais 200","description":"expected\n\n\n```\n[\n\t{\n\t\t\"id\": 1,\n\t\t\"name\": \"Beethoven\",\n\t\t\"age\": 1,\n\t\t\"weight\": \"30.00\",\n\t\t\"sex\": \"Macho\",\n\t\t\"traits\": [\n\t\t\t{\n\t\t\t\t\"id\": 1,\n\t\t\t\t\"name\": \"peludo\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 2,\n\t\t\t\t\"name\": \"médio porte\"\n\t\t\t}\n\t\t],\n\t\t\"group\": {\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"cão\",\n\t\t\t\"scientific_name\": \"canis familiaris\"\n\t\t}\n\t},\n\t\n\t...\n\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664991883708,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3cbc2088eb3b4ebc8b3ffcde36ea7fbc","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665006717749,"created":1665006679581,"url":"{{ _.baseUrl }}animals/{% response 'body', 'req_d023234900814e6a8e690e58f412d0c0', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"Listar animal por id 200","description":"expected\n\n\n```\n[\n\t{\n\t\t\"id\": 1,\n\t\t\"name\": \"Beethoven\",\n\t\t\"age\": 1,\n\t\t\"weight\": \"30.00\",\n\t\t\"sex\": \"Macho\",\n\t\t\"traits\": [\n\t\t\t{\n\t\t\t\t\"id\": 1,\n\t\t\t\t\"name\": \"peludo\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"id\": 2,\n\t\t\t\t\"name\": \"médio porte\"\n\t\t\t}\n\t\t],\n\t\t\"group\": {\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"cão\",\n\t\t\t\"scientific_name\": \"canis familiaris\"\n\t\t}\n\t},\n\t\n\t...\n\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664991883683,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4a1f7968f13045b79f01c0642e4e56fd","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665415797640,"created":1664991931928,"url":"{{ _.baseUrl }}animals/{% response 'body', 'req_d023234900814e6a8e690e58f412d0c0', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"Atualizar animais 200","description":"expected\n\n```\n{\n\t\"id\": 1,\n\t\"name\": \"Beethoven\",\n\t\"age\": 3,\n\t\"weight\": \"32.00\",\n\t\"sex\": \"Femea\",\n\t\"traits\": [\n\t\t{\n\t\t\t\"id\": 1,\n\t\t\t\"name\": \"peludo\"\n\t\t},\n\t\t{\n\t\t\t\"id\": 2,\n\t\t\t\"name\": \"médio porte\"\n\t\t}\n\t],\n\t\"group\": {\n\t\t\"id\": 1,\n\t\t\"name\": \"cão\",\n\t\t\"scientific_name\": \"canis familiaris\"\n\t}\n}\n","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"weight\": 30.6,\n \"age\": 3\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664991883658,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_649a9e887bc141a09aea93eb5be18519","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665084939957,"created":1665002236073,"url":"{{ _.baseUrl }}animals/{% response 'body', 'req_d023234900814e6a8e690e58f412d0c0', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"Atualizar animais / traits 422","description":"expected\n\n```\n{\n\t\"traits\": \"You can not update tratis property.\"\n}\n","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"traits\": [\n {\"name\": \"novo trait 1\"},\n {\"name\": \"novo trait 2\"}\n ]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664991883633,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5dbae93a90844fa582797a7514cfa3fd","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665084937390,"created":1665002250270,"url":"{{ _.baseUrl }}animals/{% response 'body', 'req_d023234900814e6a8e690e58f412d0c0', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"Atualizar animais / group 422","description":"expected\n\n```\n{\n\t\"group\": \"You can not update group property.\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"group\": {\"name\": \"gato\", \"scientific_name\": \"anis familiaris\"}\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664991883620.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_516c8dccefdd4455965fc4982fed3423","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665061321748,"created":1665002331982,"url":"{{ _.baseUrl }}animals/{% response 'body', 'req_d023234900814e6a8e690e58f412d0c0', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"Atualizar animais / sex 422","description":"expected\n\n```\n{\n\t\"sex\": \"You can not update sex property.\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"sex\": \"Femea\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_2bdb439568b14f70a7c7e216531ca94d"}],"authentication":{},"metaSortKey":-1664986315812.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_00dd42ea69284aeea2c8f143467da08d","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665084942943,"created":1665002971423,"url":"{{ _.baseUrl }}animals/{% response 'body', 'req_d023234900814e6a8e690e58f412d0c0', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"extra - Atualizar animais / group & traits 422","description":"expected\n\n```\n{\n \"group\": \"You can not update group property.\",\n \"traits\": \"You can not update traits property.\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"group\": {\"name\": \"Patch 1\"},\n \"traits\": [\n {\"name\": \"novo trait 1\"},\n {\"name\": \"novo trait 2\"}\n ]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1664983531908.125,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_10b66988c245478bb3dd50fd434b9f02","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1665006733324,"created":1665006686167,"url":"{{ _.baseUrl }}animals/{% response 'body', 'req_d023234900814e6a8e690e58f412d0c0', 'b64::JC5pZA==::46b', 'never', 60 %}/","name":"New Request","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1664983531858.125,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_58ff6ae81530d178e388bb62f5648058b3a277e2","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1664991816329,"created":1664991732841,"name":"Base Environment","data":{"baseUrl":"http://127.0.0.1:8000/api/"},"dataPropertyOrder":{"&":["baseUrl"]},"color":null,"isPrivate":false,"metaSortKey":1664991732842,"_type":"environment"},{"_id":"jar_58ff6ae81530d178e388bb62f5648058b3a277e2","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1664991732845,"created":1664991732845,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_ce7a49e02f8949c4a9c51ac030f810d6","parentId":"wrk_993d16b78287470b962f233f6b027d83","modified":1664991732832,"created":1664991732832,"fileName":"kenzie_pet","contents":"","contentType":"yaml","_type":"api_spec"}]}