-
Notifications
You must be signed in to change notification settings - Fork 0
/
projetobackend_insomnia.json
1 lines (1 loc) · 13.1 KB
/
projetobackend_insomnia.json
1
{"_type":"export","__export_format":4,"__export_date":"2023-05-09T17:06:30.768Z","__export_source":"insomnia.desktop.app:v2023.2.0","resources":[{"_id":"req_d0093556b1684e1982a650b3b5faed1a","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683573607046,"created":1683573005803,"url":"{{ _.base_url }}/api/docs/redoc/","name":"REDOC","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1683573005803,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"wrk_c5db90b1da4c4e269f0517448561a436","parentId":null,"modified":1683651969302,"created":1683634383083,"name":"Projeto Backend","description":"","scope":"design","_type":"workspace"},{"_id":"req_2cd0d3fc6a2e41dab0cf656dbf64767d","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683573626150,"created":1683573613032,"url":"{{ _.base_url }}/api/docs/swagger-ui/ ","name":"SWAGGER","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1683449580919.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_052f1b526197456691cb3fc687075667","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683636407419,"created":1683326156036,"url":"{{ _.base_url }}/api/users/login/","name":"LOGIN","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"username\": \"igor\",\n\t\"password\": \"232323\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1683326156036,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_99d79f1adc7b44aaafd6b1a7c3295384","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683636421614,"created":1683225675422,"url":"{{ _.base_url }}/api/users/","name":"CREATE USER","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"email\": \"[email protected]\",\n\t\"username\": \"igor\",\n\t\"password\": \"232323\",\n\t\"is_employee\": true\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{},"metaSortKey":-1683225675422,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e7486b0d49984c558bfdc1951c478f0d","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683637243481,"created":1683549251726,"url":"{{ _.base_url }}/api/users/8/","name":"UPDATE USER","description":"","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\"email\": \"[email protected]\",\n\t\"username\": \"pedro\",\n\t\"password\": \"aaaaaaaa\",\n\t\"is_employee\": true,\n\t\"is_banned\": false\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{{ _.token }}"},"metaSortKey":-1683225675409.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f599efd0f2484f18b949bfb8b9e4c831","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683643915148,"created":1683326319290,"url":"{{ _.base_url }}/api/users/","name":"GET USER","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":false},"metaSortKey":-1683225675397,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d7aa81644b0243caafd7bef9ef619204","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683641846314,"created":1683412427655,"url":"{{ _.base_url }}/api/users/status/2/","name":"GET USER STATUS","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":false},"metaSortKey":-1683225675372,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_94a8a4b5445e424ab44ab55a3ddaf1fc","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683636768899,"created":1683506315693,"url":"{{ _.base_url }}/api/users/history/1/","name":"GET USER HISTORY","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":false},"metaSortKey":-1683225675359.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ae984be2e1d2451c91cf3ad37efaf8e4","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683637236971,"created":1683326391850,"url":"{{ _.base_url }}/api/book/","name":"CREATE BOOK","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"name\": \"Bagulhos estranhos 3\",\n\t\"author\": \"Baianinho play\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":false},"metaSortKey":-1683225675347,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b5f9e4a31f334af1a240c3d16a48199c","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683637232932,"created":1683571401597,"url":"{{ _.base_url }}/api/book/","name":"LIST BOOKS","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":false},"metaSortKey":-1683203526085.375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_17147c1b2fad49ccb8d756ee9c8e7481","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683637229155,"created":1683564128795,"url":"{{ _.base_url }}/api/books/1/follow/","name":"FOLLOW BOOK","description":"","method":"POST","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":false},"metaSortKey":-1683181376823.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0703bbfbccfc4e0488c4bdd84f846044","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683637225809,"created":1683554479052,"url":"{{ _.base_url }}/api/book/1/","name":"DETAILS BOOK","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":true},"metaSortKey":-1683137078300.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1e9de2e4f25544c6a4f587d28e2894f7","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683637220901,"created":1683417010565,"url":"{{ _.base_url }}/api/copy/","name":"CREATE COPY","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"isBorrowed\": false,\n\t\"book\": 1\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{{ _.token }}"},"metaSortKey":-1683048481254,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a4365742c6654ee78d8bae49b1dddf1e","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683637215675,"created":1683326545603,"url":"{{ _.base_url }}/api/book/1/","name":"GET BOOK","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":true},"metaSortKey":-1682871287161,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_45985f88681d49ec87ab45ff21f9ad32","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683637208618,"created":1683340593513,"url":"{{ _.base_url }}/api/loan/","name":"CREATE LOAN","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"user_id\": 3,\n\t\"copy_id\": 6\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{{ _.token }}","disabled":false},"metaSortKey":-1682871287111,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4bd06cf32a374f748776321865993131","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683650309710,"created":1683340636522,"url":"{{ _.base_url }}/api/loan/1/","name":"UPDATE LOAN","description":"","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\"is_returned\": true\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json"}],"authentication":{"type":"bearer","token":"{{ _.token }}"},"metaSortKey":-1682694093043,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_f8da740fadad48f4943a08e7d7e6c31e","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683570466868,"created":1683225673569,"name":"Base Environment","data":{"base_url":"localhost:8000"},"dataPropertyOrder":{"&":["base_url"]},"color":null,"isPrivate":false,"metaSortKey":1683225673569,"_type":"environment"},{"_id":"jar_46e26fc53dcf4de38e2cbc9ec9ff37ef","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683573694090,"created":1683225673572,"name":"Default Jar","cookies":[{"key":"__cf_bm","value":"wWiwiWpU82KIFR4fZ3Ek5dhBBd1hCc9uWo0GZ3oSphs-1683571346-0-AY+7gSrrZrjoXLUS0QW2xfWws4YYdmAIp2eRrczbGoxkXOZ9nkhFB9Ycm7EJN/ZDxgdXPQFL9KdNgqq+B7c8hSQ=","expires":"2023-05-08T19:12:26.000Z","domain":"onrender.com","path":"/","secure":true,"httpOnly":true,"extensions":["SameSite=None"],"hostOnly":false,"creation":"2023-05-08T18:26:15.696Z","lastAccessed":"2023-05-08T18:42:26.838Z","id":"5349688993419535"},{"key":"_cfuvid","value":"4DFf536MW_l_OpvqAnksLQ1IKB9fJApQM8PfMzrRoI8-1683570375784-0-604800000","domain":"onrender.com","path":"/","secure":true,"httpOnly":true,"extensions":["SameSite=None"],"hostOnly":false,"creation":"2023-05-08T18:26:15.697Z","lastAccessed":"2023-05-08T18:26:15.697Z","id":"2081673989076449"},{"key":"csrftoken","value":"Hk8zMyTAcC2JTg2m3Nkc5RfTEWzRl6Kw","expires":"2024-05-06T19:21:34.000Z","maxAge":31449600,"domain":"localhost","path":"/","extensions":["SameSite=Lax"],"hostOnly":true,"creation":"2023-05-08T19:10:43.574Z","lastAccessed":"2023-05-08T19:21:34.090Z","id":"4296060578257854"}],"_type":"cookie_jar"},{"_id":"spc_5e6575ae61a247f1ba2e79afb8d0de49","parentId":"wrk_c5db90b1da4c4e269f0517448561a436","modified":1683651969298,"created":1683634383085,"fileName":"Projeto Backend","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"env_c329179e68c54b5da8535a41ecc0d9b5","parentId":"env_f8da740fadad48f4943a08e7d7e6c31e","modified":1683636725059,"created":1683570468857,"name":"Deploy","data":{"base_url":"https://biblioteka-77uf.onrender.com","token":"{% response 'body', 'req_052f1b526197456691cb3fc687075667', 'b64::JC5hY2Nlc3M=::46b', 'never', 60 %}"},"dataPropertyOrder":{"&":["base_url","token"]},"color":null,"isPrivate":false,"metaSortKey":1683570468857,"_type":"environment"},{"_id":"env_2b2e1d74f16847a78f1c692c9e20b1a9","parentId":"env_f8da740fadad48f4943a08e7d7e6c31e","modified":1683636735251,"created":1683570501005,"name":"Local","data":{"base_url":"localhost:8000","token":"{% response 'body', 'req_052f1b526197456691cb3fc687075667', 'b64::JC5hY2Nlc3M=::46b', 'never', 60 %}"},"dataPropertyOrder":{"&":["base_url","token"]},"color":null,"isPrivate":false,"metaSortKey":1683570501005,"_type":"environment"}]}