-
Notifications
You must be signed in to change notification settings - Fork 0
/
insomnia.json
1 lines (1 loc) · 12.1 KB
/
insomnia.json
1
{"_type":"export","__export_format":4,"__export_date":"2021-05-26T02:01:52.498Z","__export_source":"insomnia.desktop.app:v2021.3.0","resources":[{"_id":"req_965ce786cb014b24ab44b6f973c24093","parentId":"fld_7807917ae105404cb09d90794255d2aa","modified":1621905341804,"created":1621905329593,"url":"{{ _.baseUrl }}/cars/available","name":"Available","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1621905329593,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_7807917ae105404cb09d90794255d2aa","parentId":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","modified":1621903876659,"created":1621903876659,"name":"Cars","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1621903876659,"_type":"request_group"},{"_id":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","parentId":null,"modified":1616853143740,"created":1616853143740,"name":"RENTX","description":"","scope":"collection","_type":"workspace"},{"_id":"req_f43bcf3676754b1d9659310acb7009ec","parentId":"fld_7807917ae105404cb09d90794255d2aa","modified":1621905184044,"created":1621903885545,"url":"{{ _.baseUrl }}/cars","name":"Create","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"name\": \"Lancer evolution\",\n\t\"description\": \"Carro super foda\",\n\t\"daily_rate\": \"60\",\n\t\"license_plate\": \"102030\",\n\t\"fine_amount\": 120,\n\t\"brand\": \"Mitsubishi\",\n\t\"category_id\": \"4b98a17b-461a-49ed-942c-d36a3d1a65e9\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_46a1524e21984507a22a547a54aa3b6f"}],"authentication":{"type":"bearer","token":"{{ _.tokenAmin }}"},"metaSortKey":-1621903885545,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_cd5d89d32a2e4ec2a240b8b3a9ddf882","parentId":"fld_60b9e86ff6444a8d9b8a8a16790f2ffd","modified":1621982470531,"created":1621982461458,"url":"{{ _.baseUrl }}/rentals/user","name":"ListByUser","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.tokenUser }}"},"metaSortKey":-1621982461458,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_60b9e86ff6444a8d9b8a8a16790f2ffd","parentId":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","modified":1621902757811,"created":1621902757811,"name":"Rentals","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1621902757811,"_type":"request_group"},{"_id":"req_0a6701357c5a4d2d98b398ce460d928d","parentId":"fld_60b9e86ff6444a8d9b8a8a16790f2ffd","modified":1621981413581,"created":1621980741728,"url":"{{ _.baseUrl }}/rentals","name":"Create","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"car_id\": \"d3c46474-b2c5-4367-bef1-05b1d181956d\", \n\t\"expected_return_date\": \"2021-05-26T22:30:00Z\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_8dcf3f6bba6540c0be5ec3272fe32770"}],"authentication":{"type":"bearer","token":"{{ _.tokenUser }}"},"metaSortKey":-1621980741728,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_eb9f4fcbe26d49cf8d3997857cbc617c","parentId":"fld_60b9e86ff6444a8d9b8a8a16790f2ffd","modified":1621981459841,"created":1621902766139,"url":"{{ _.baseUrl }}/rentals/devolution/a438bdab-ca30-436f-b3f4-825c4d43d3fb","name":"Devolution","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"expected_return_date\": \"2021-05-27T22:14:00\",\n\t\"car_id\": \"d3c46474-b2c5-4367-bef1-05b1d181956d\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_07a2971fddfc430d875b519aedb33b08"}],"authentication":{"type":"bearer","token":"{{ _.tokenAmin }}"},"metaSortKey":-1621902766139,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_75ba320b70ce4314ac9cb9439cbaf8dc","parentId":"fld_1d881d0a1eaa4571bbcbe75193442b88","modified":1621904225318,"created":1616890137274,"url":"{{ _.baseUrl }}/users","name":"Create","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"name\": \"Admin\",\n\t\"email\": \"[email protected]\",\n\t\"password\": \"123456\",\n\t\"driver_license\": \"123456789\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_2c34a51fce2b4f3aa57674021463dd53"}],"authentication":{},"metaSortKey":-1616890137274,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_1d881d0a1eaa4571bbcbe75193442b88","parentId":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","modified":1616890126357,"created":1616890126357,"name":"Users","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1616890126357,"_type":"request_group"},{"_id":"req_e2abf6f9304247238af0c33ed9802747","parentId":"fld_1d881d0a1eaa4571bbcbe75193442b88","modified":1616947397288,"created":1616941015073,"url":"{{ _.host }}/users/avatar","name":"Avatar","description":"","method":"PATCH","body":{"mimeType":"multipart/form-data","params":[{"name":"avatar","value":"","description":"","id":"pair_5bced0ea4770477788f171296d64771e","type":"file","fileName":"/home/nlnadialigia/Imagens/monica.png"}]},"parameters":[],"headers":[{"name":"Content-Type","value":"multipart/form-data","id":"pair_2c34a51fce2b4f3aa57674021463dd53"}],"authentication":{"type":"bearer","token":"{{ _.token }}"},"metaSortKey":-1616850272356.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_551bdafcc12c42418aef435039bce5e0","parentId":"fld_1d881d0a1eaa4571bbcbe75193442b88","modified":1621904244615,"created":1616900386732,"url":"{{ _.baseUrl }}/sessions","name":"Session","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"email\": \"[email protected]\",\n\t\"password\": \"123456\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_2c34a51fce2b4f3aa57674021463dd53"}],"authentication":{},"metaSortKey":-1616810407439,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7c9331d9d15042988139be4eb9bef158","parentId":"fld_71d1c3453c1c47e4b9f20879e7a17faa","modified":1616903757376,"created":1616853143765,"url":"{{ _.host }}/specifications","name":"Create","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"name\": \"4 portas\",\n\t\"description\": \"Carro com 4 portas\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4eddfee9a6de4d5085599203dc3a4d28"}],"authentication":{"type":"bearer","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2MTY5MDM3MDEsImV4cCI6MTYxNjk5MDEwMSwic3ViIjoiODEwOWE2NDItNTgzZC00MGRkLTg3NzktOTgzMDFhNDQxNGIyIn0.YJmUvCW1GpO_1WBCVk0oNmSUEX8zw1LRU2MkhaXqK0E","disabled":false},"metaSortKey":-1615939743899,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_71d1c3453c1c47e4b9f20879e7a17faa","parentId":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","modified":1616853143763,"created":1616853143763,"name":"Specifications","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1615939731873,"_type":"request_group"},{"_id":"req_76a8e18c61674dcc862580b9ddb34083","parentId":"fld_c51d2cd99eb144f0ae4b7b72e0e36799","modified":1616871221877,"created":1616853143760,"url":"{{ _.host }}/categories/import","name":"Import","description":"","method":"POST","body":{"mimeType":"multipart/form-data","params":[{"name":"file","value":"","description":"","id":"pair_49ee7eb2d3604ba5986124beaa6a3c48","type":"file","fileName":"/home/nlnadialigia/Documentos/Ignite/Chapter III/aulas/rentx/categories.csv"}]},"parameters":[],"headers":[{"name":"Content-Type","value":"multipart/form-data","id":"pair_6079bfe5c9494986bdd386c9c2cf27da"}],"authentication":{},"metaSortKey":-1615984356736,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c51d2cd99eb144f0ae4b7b72e0e36799","parentId":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","modified":1616853143753,"created":1616853143753,"name":"Categories","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1615854525333,"_type":"request_group"},{"_id":"req_e928367a67f0443b844eb5e3cac08b87","parentId":"fld_c51d2cd99eb144f0ae4b7b72e0e36799","modified":1621905053572,"created":1616853143755,"url":"{{ _.baseUrl }}/categories","name":"Create","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"name\": \"Sportiv2o\",\n\t\"description\": \"Categoria de carro Sportivo\"\n}"},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.tokenAmin }}"},"metaSortKey":-1615854537117,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d218cd4a8b56479d9cc79b0b5c7feda2","parentId":"fld_c51d2cd99eb144f0ae4b7b72e0e36799","modified":1621904763018,"created":1616853143757,"url":"{{ _.baseUrl }}/categories","name":"List","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1615854537067,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_52d755a854914d1dba23e831902400f6","parentId":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","modified":1616853143742,"created":1616853143742,"name":"Base Environment","data":{},"dataPropertyOrder":null,"color":null,"isPrivate":false,"metaSortKey":1615851947775,"_type":"environment"},{"_id":"jar_17126d6661904dc696dd087d39039d9a","parentId":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","modified":1616853143748,"created":1616853143748,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_a4770369bf7c42368612c2c9404c32ae","parentId":"wrk_c2f080924cb945aaacf2cd84b3fa9b68","modified":1616853143750,"created":1616853143750,"fileName":"RENTALX","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"env_5aa0036a226d4a1c8a2d63a50b152c99","parentId":"env_52d755a854914d1dba23e831902400f6","modified":1621904635113,"created":1621904065018,"name":"Dev","data":{"baseUrl":"http://localhost:3333","tokenUser":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2MjE5MDQxOTcsImV4cCI6MTYyMTk5MDU5Nywic3ViIjoiNzRjNTczODgtNjRmYy00OTJiLThmOWQtMGFhOTg5MmEyOWE1In0.PLiWSN1eJa8UM-tTYfIZe3ivF7KeXmW_qHjQ91P6Yho","tokenAmin":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2MjE5MDQ2MjUsImV4cCI6MTYyMTk5MTAyNSwic3ViIjoiZWJlYzkzYmQtYWFiMS00MDA1LWI2ZmItZmY5ZDQxNjUwM2Q1In0.fG0HzsNj11JHdxEdkA61djzhzekGQOGaUpbAFLFt-pY"},"dataPropertyOrder":{"&":["baseUrl","tokenUser","tokenAmin"]},"color":"#1188e4","isPrivate":false,"metaSortKey":1621904065018,"_type":"environment"}]}