-
Notifications
You must be signed in to change notification settings - Fork 0
/
workspace-e5.json
1 lines (1 loc) · 53.9 KB
/
workspace-e5.json
1
{"_type":"export","__export_format":4,"__export_date":"2022-10-14T12:55:48.220Z","__export_source":"insomnia.desktop.app:v2022.4.2","resources":[{"_id":"req_2f680621a3c04500848509aaae9d3acb","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665746815206,"created":1660294277929,"url":"{{ _.baseURL }}/users","name":"Create user 201","description":"Retorno esperado\n```json\n{\n\t\"name\": \"Joana\",\n\t\"email\": \"joana@kenzie.com\",\n\t\"isAdm\": false,\n\t\"isActive\": true,\n\t\"id\": \"dd2f4148-65b2-4202-adfd-863638bd3b62\",\n\t\"createdAt\": \"2022-08-17T20:13:22.646Z\",\n\t\"updatedAt\": \"2022-08-17T20:13:22.646Z\"\n}\n```\n","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"Joana\",\n \"email\": \"joana@kenzie.com\",\n \"password\": \"123456\",\n \"isAdm\": false\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"},{"id":"pair_29a0d4ae827b4c46a3de74e21ce75a59","name":"isAdm","value":"true","description":""},{"id":"pair_345602e4f0d545c0ac3fc460d9a81db7","name":"uuid","value":"gergegewgwegwgw","description":""}],"authentication":{},"metaSortKey":-1660294278029,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_335edf45b3f8415b9f43bb2f0a2e795a","parentId":"wrk_6e6c77c9d3874811a602ec1ca13ad009","modified":1660295668017,"created":1660294559754,"name":"user","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1660295325788,"_type":"request_group"},{"_id":"wrk_6e6c77c9d3874811a602ec1ca13ad009","parentId":null,"modified":1661376238497,"created":1660294225527,"name":"e5","description":"","scope":"collection","_type":"workspace"},{"_id":"req_d5fbf484a66c41ae8e45b5e4fc28e4ba","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665749142043,"created":1661201019498,"url":"{{ _.baseURL }}/users","name":"Create user for delete 201","description":"Retorno esperado\n```json\n{\n\t\"name\": \"fabio\",\n\t\"email\": \"fabio@kenzie.com\",\n\t\"isAdm\": false,\n\t\"isActive\": true,\n\t\"id\": \"5160f2fe-864a-4c34-920f-d7fb807541a7\",\n\t\"createdAt\": \"2022-08-22T20:45:14.559Z\",\n\t\"updatedAt\": \"2022-08-22T20:45:14.559Z\"\n}\n```\n","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"fabio\",\n \"email\": \"fabio@kenzie.com\",\n \"password\": \"123456\",\n \"isAdm\": false\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"}],"authentication":{},"metaSortKey":-1660294278025.875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a1eedeb5a6f74f7e9b2520e541e721aa","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665746726950,"created":1660298517696,"url":"{{ _.baseURL }}/users","name":"Create user already exists 400","description":"Retorno esperado\n\n```json\n{\n\t\"message\": \"User already exists\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"Joana\",\n \"email\": \"joana@kenzie.com\",\n \"password\": \"123456\",\n \"isAdm\": false\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"}],"authentication":{},"metaSortKey":-1660294278022.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_47eb9027fe4e4df287ac5ba0b65737bb","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665749150148,"created":1660294309050,"url":"{{ _.baseURL }}/users","name":"Create admin 201","description":"Retorno esperado\n\n```json\n{\n\t\"name\": \"Felipe\",\n\t\"email\": \"felipe@kenzie.com\",\n\t\"isAdm\": true,\n\t\"isActive\": true,\n\t\"id\": \"c4a8f8d9-da26-4951-bb1b-099375e33c27\",\n\t\"createdAt\": \"2022-08-17T20:13:34.685Z\",\n\t\"updatedAt\": \"2022-08-17T20:13:34.685Z\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"Felipe\",\n \"email\": \"felipe@kenzie.com\",\n \"password\": \"123456\",\n \"isAdm\": true\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"}],"authentication":{},"metaSortKey":-1660294277979,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d8108d37c38846c0ad20708d3682e2f8","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665746331720,"created":1660294348988,"url":"{{ _.baseURL }}/users","name":"get all users 200","description":"Retorno esperado\n\n```json\n[\n\t{\n\t\t\"id\": \"7bb2a285-0735-4b03-a9b1-27e595e26f86\",\n\t\t\"name\": \"Felipe\",\n\t\t\"email\": \"felipe@kenzie.com\",\n\t\t\"isAdm\": true,\n\t\t\"isActive\": true,\n\t\t\"createdAt\": \"2022-08-22T20:18:01.401Z\",\n\t\t\"updatedAt\": \"2022-08-22T20:18:01.401Z\"\n\t},\n\t{\n\t\t\"id\": \"8e1f7187-0e46-4711-9f8d-bcb835b1ff37\",\n\t\t\"name\": \"Joana\",\n\t\t\"email\": \"joana@kenzie.com\",\n\t\t\"isAdm\": false,\n\t\t\"isActive\": false,\n\t\t\"createdAt\": \"2022-08-22T20:17:59.709Z\",\n\t\t\"updatedAt\": \"2022-08-22T20:18:29.784Z\"\n\t},\n\t{\n\t\t\"id\": \"5160f2fe-864a-4c34-920f-d7fb807541a7\",\n\t\t\"name\": \"fabio\",\n\t\t\"email\": \"fabio@kenzie.com\",\n\t\t\"isAdm\": false,\n\t\t\"isActive\": false,\n\t\t\"createdAt\": \"2022-08-22T20:45:14.559Z\",\n\t\t\"updatedAt\": \"2022-08-22T20:51:54.133Z\"\n\t}\n]\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660294277954,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d19dfbd52401427b86219c722e137b5c","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1661168944688,"created":1660297844964,"url":"{{ _.baseURL }}/users","name":"get all users not auth 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Invalid token\"\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1660083460885.875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_852992492a8349b0b1a8277219b175f5","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665749142511,"created":1660297875394,"url":"{{ _.baseURL }}/users","name":"get all users not admin 403","description":"Retorno esperado\n```json\n{\n\t\"message\": \"User is not admin\"\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1659978052351.8125,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_188ab4d379104c219c6bcd40793354ba","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665751038760,"created":1665745936515,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"patch user not auth 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Invalid token\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\n \"email\": \"cauan@kenzie.com\",\n \"password\": \"123456\"\n \n}"},"parameters":[],"headers":[{"id":"pair_b93bbe5d6fb44dcf983583e3b8ae61c1","name":"id","value":"13970660-5dbe-423a-9a9d-5c23b37943cf","description":""},{"id":"pair_b15471ab17bd43e893c24d25beacaf77","name":"isAdm","value":"true","description":""},{"name":"Content-Type","value":"application/json","id":"pair_cd31bb7ee45746969c8831c31f4b1574"}],"authentication":{},"metaSortKey":-1659951700218.2969,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0148a27f3a634fdb803af4b8fc159fe8","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665751038188,"created":1664384883880,"url":"{{ _.baseURL }}/users/e58ce0f9-3742-49f0-a264-c05d5f05191a","name":"patch user invalid id 404","description":"Retorno esperado\n```json\n{\n\t\"message\": \"User not found\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t\n \"email\": \"cauan@kenzie.com\",\n \"password\": \"123456\"\n \n}"},"parameters":[],"headers":[{"id":"pair_b93bbe5d6fb44dcf983583e3b8ae61c1","name":"id","value":"13970660-5dbe-423a-9a9d-5c23b37943cf","description":""},{"id":"pair_b15471ab17bd43e893c24d25beacaf77","name":"isAdm","value":"true","description":""},{"name":"Content-Type","value":"application/json","id":"pair_d2b382690ec14720bc2695ebe2a88713"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1659938524151.539,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e7f52834ca414fc4b0890bb7a48e1736","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665751037202,"created":1665745963569,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"patch user isAdm 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"You do not have permission to change one of this values\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t \"email\": \"cauan@kenzie.com\",\n \"password\": \"123456\",\n\t\t\"isAdm\": true\n}"},"parameters":[],"headers":[{"id":"pair_b93bbe5d6fb44dcf983583e3b8ae61c1","name":"id","value":"13970660-5dbe-423a-9a9d-5c23b37943cf","description":""},{"id":"pair_b15471ab17bd43e893c24d25beacaf77","name":"isAdm","value":"true","description":""},{"name":"Content-Type","value":"application/json","id":"pair_da553802b3b442308b142955e6a5731e"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1659931936118.1602,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4f53a3fa7f2a42fc92839ad09435d712","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665751036695,"created":1665746011878,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"patch user isActive 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"You do not have permission to change one of this values\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t \"email\": \"cauan@kenzie.com\",\n \"password\": \"123456\",\n\t\t\"isActive\": false\n}"},"parameters":[],"headers":[{"id":"pair_b93bbe5d6fb44dcf983583e3b8ae61c1","name":"id","value":"13970660-5dbe-423a-9a9d-5c23b37943cf","description":""},{"id":"pair_b15471ab17bd43e893c24d25beacaf77","name":"isAdm","value":"true","description":""},{"name":"Content-Type","value":"application/json","id":"pair_c7d9626322df4cdabca0156774e78b24"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1659928642101.4707,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_49ccb9dff17948bd94bcdf4db8aa5879","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665751036231,"created":1665746031868,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"patch user id 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"You do not have permission to change one of this values\"\n}\n```","method":"PATCH","body":{"mimeType":"application/json","text":"{\n\t \"email\": \"cauan@kenzie.com\",\n \"password\": \"123456\",\n\t\t\"id\": \"2345677889\"\n}"},"parameters":[],"headers":[{"id":"pair_b93bbe5d6fb44dcf983583e3b8ae61c1","name":"id","value":"13970660-5dbe-423a-9a9d-5c23b37943cf","description":""},{"id":"pair_b15471ab17bd43e893c24d25beacaf77","name":"isAdm","value":"true","description":""},{"name":"Content-Type","value":"application/json","id":"pair_745aa269ccb8401b89a371e23e2c1536"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1659926995093.126,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_548ebf4b6a53424cac39b44239d87207","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665751034893,"created":1665746187632,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"Patch user not adm 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"You do not have permission\"\n}\n```\n","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"name\": \"felipe silva\",\n \"email\": \"felipesilva@kenzie.com\"\n\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"},{"id":"pair_29a0d4ae827b4c46a3de74e21ce75a59","name":"isAdm","value":"true","description":""},{"id":"pair_345602e4f0d545c0ac3fc460d9a81db7","name":"uuid","value":"gergegewgwegwgw","description":""}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1659926171588.9536,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c55fb44e0ff245158ba136c6d0ee5412","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665751033763,"created":1665681056776,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"Patch user owner 200","description":"Retorno esperado\n```json\n{\n\t\"id\": \"703580e6-90c1-4a31-9ab9-88ba0f0e3186\",\n\t\"name\": \"felipe silva\",\n\t\"email\": \"felipesilva@kenzie.com\",\n\t\"isAdm\": false,\n\t\"isActive\": true,\n\t\"createdAt\": \"2022-10-14T11:25:25.690Z\",\n\t\"updatedAt\": \"2022-10-14T11:38:02.408Z\"\n}\n```\n","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"name\": \"felipe silva\",\n \"email\": \"felipesilva@kenzie.com\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"},{"id":"pair_29a0d4ae827b4c46a3de74e21ce75a59","name":"isAdm","value":"true","description":""},{"id":"pair_345602e4f0d545c0ac3fc460d9a81db7","name":"uuid","value":"gergegewgwegwgw","description":""}],"authentication":{"type":"bearer","token":"{% response 'body', 'req_e25a5646313f45dbb4ef54060e9be9f3', 'b64::JC50b2tlbg==::46b', 'never', 60 %}"},"metaSortKey":-1659925348084.7812,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e6cf5272c6e64f2bb80257966012690d","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665751030499,"created":1665746173953,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"Patch user adm 200","description":"Retorno esperado\n```json\n{\n\t\"id\": \"703580e6-90c1-4a31-9ab9-88ba0f0e3186\",\n\t\"name\": \"felipe silva\",\n\t\"email\": \"cauan@kenzie.com\",\n\t\"isAdm\": false,\n\t\"isActive\": true,\n\t\"createdAt\": \"2022-10-14T11:25:25.690Z\",\n\t\"updatedAt\": \"2022-10-14T11:39:58.989Z\"\n}\n```\n","method":"PATCH","body":{"mimeType":"application/json","text":"{\n \"email\": \"cauan@kenzie.com\",\n \"password\": \"123456\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"},{"id":"pair_29a0d4ae827b4c46a3de74e21ce75a59","name":"isAdm","value":"true","description":""},{"id":"pair_345602e4f0d545c0ac3fc460d9a81db7","name":"uuid","value":"gergegewgwegwgw","description":""}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1659898995951.2656,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1edfbc6681b84f678481cf23b817a7fd","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1661168997759,"created":1660297498934,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_2f680621a3c04500848509aaae9d3acb', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"delete user not auth 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Invalid token\"\n}\n```","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1659872643817.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_964c85ffab394f84aa7f09c2a3ae302b","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1664384873851,"created":1660297510274,"url":"{{ _.baseURL }}/users/13970660-5dbe-423a-9a9d-5c23b37943cf","name":"delete user invalid id 404","description":"Retorno esperado\n```json\n{\n\t\"message\": \"User not found\"\n}\n```","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1659754059220.4453,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3a4ff5c7f3934146aa0ad5b147d79ee3","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1665746402642,"created":1660297632375,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_47eb9027fe4e4df287ac5ba0b65737bb', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"delete user not admin 403","description":"Retorno esperado\n```json\n{\n\t\"message\": \"User is not admin\"\n}\n```","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1659635474623.1406,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_f07bf8bf1c874ca78cd28166248272fb","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1661882262011,"created":1660294373921,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"delete user 204","description":"Retorno esperado","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1659609122490.4062,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_684c3b32e8c743d4be8520ce169f2c4c","parentId":"fld_335edf45b3f8415b9f43bb2f0a2e795a","modified":1661882430613,"created":1660297521286,"url":"{{ _.baseURL }}/users/{% response 'body', 'req_d5fbf484a66c41ae8e45b5e4fc28e4ba', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"delete user not active 400","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Inactive user\"\n}\n```","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1659556418224.9375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_acc95331e2464c17a126454550831ec5","parentId":"fld_a388cf633f3a4bbba6c73d0cd488d911","modified":1665746294449,"created":1661200799036,"url":"{{ _.baseURL }}/login","name":"login user isActive= false 400","description":"Retorno esperado\n```json\n{\n\t\"message\": \"User is not active\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \n \"email\": \"fabio@kenzie.com\",\n \"password\": \"123456\"\n \n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_668b03a0256548afbf8638e55ad5c1f9"}],"authentication":{},"metaSortKey":-1660294530392.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_a388cf633f3a4bbba6c73d0cd488d911","parentId":"wrk_6e6c77c9d3874811a602ec1ca13ad009","modified":1660295669689,"created":1660294604277,"name":"login","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1660295325763,"_type":"request_group"},{"_id":"req_5525a04665ad49479271926eb8d92a18","parentId":"fld_a388cf633f3a4bbba6c73d0cd488d911","modified":1665751052609,"created":1660294661193,"url":"{{ _.baseURL }}/login","name":"login user 403","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Invalid credentials\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \n \"email\": \"joana@kenzie.com\",\n \"password\": \"1234567\"\n \n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_668b03a0256548afbf8638e55ad5c1f9"}],"authentication":{},"metaSortKey":-1660294446271.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e258343ec4614a0e8121407fe827fb81","parentId":"fld_a388cf633f3a4bbba6c73d0cd488d911","modified":1665751059851,"created":1660294614514,"url":"{{ _.baseURL }}/login","name":"login user 200","description":"Retorno esperado\n```json\n{\n\t\"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImRkMmY0MTQ4LTY1YjItNDIwMi1hZGZkLTg2MzYzOGJkM2I2MiIsImlzQWRtIjpmYWxzZSwiaWF0IjoxNjYwNzY3MjIxLCJleHAiOjE2NjA3NzA4MjF9._scR9df67Hs8-KiTwKxPE6kIxCZHyLADnWHBaN8IzTM\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \n \"email\": \"joana@kenzie.com\",\n \"password\": \"123456\"\n \n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_668b03a0256548afbf8638e55ad5c1f9"}],"authentication":{},"metaSortKey":-1660294425241.1875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e25a5646313f45dbb4ef54060e9be9f3","parentId":"fld_a388cf633f3a4bbba6c73d0cd488d911","modified":1665751055630,"created":1665746263618,"url":"{{ _.baseURL }}/login","name":"login user fo patch 200","description":"Retorno esperado\n```json\n{\n\t\"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImRkMmY0MTQ4LTY1YjItNDIwMi1hZGZkLTg2MzYzOGJkM2I2MiIsImlzQWRtIjpmYWxzZSwiaWF0IjoxNjYwNzY3MjIxLCJleHAiOjE2NjA3NzA4MjF9._scR9df67Hs8-KiTwKxPE6kIxCZHyLADnWHBaN8IzTM\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \n \"email\": \"fabio@kenzie.com\",\n \"password\": \"123456\"\n \n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_668b03a0256548afbf8638e55ad5c1f9"}],"authentication":{},"metaSortKey":-1660294404210.875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_556b1d114f044c0ab442a38a148de1cb","parentId":"fld_a388cf633f3a4bbba6c73d0cd488d911","modified":1665751058316,"created":1660294679373,"url":"{{ _.baseURL }}/login","name":"login admin 200","description":"Retorno esperado\n```json\n{\n\t\"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImM0YThmOGQ5LWRhMjYtNDk1MS1iYjFiLTA5OTM3NWUzM2MyNyIsImlzQWRtIjp0cnVlLCJpYXQiOjE2NjA3NjcyMjMsImV4cCI6MTY2MDc3MDgyM30.sF0RBjP0EbTmx408jK3VzwckTYUWrG0GgWnzfSVC7Hk\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{ \n \"email\": \"felipe@kenzie.com\",\n \"password\": \"123456\"\n}\n "},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_668b03a0256548afbf8638e55ad5c1f9"}],"authentication":{},"metaSortKey":-1660294362150.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b5309de6863a41cf9c63c5c314798bab","parentId":"fld_de30d09f75a64f35822b0e4951507ec4","modified":1661882291879,"created":1660294962919,"url":"{{ _.baseURL }}/categories","name":"Create category 201","description":"Retorno esperado\n```json\n{\n\t\"name\": \"Apartamento\",\n\t\"id\": \"9cbc3f2e-a6c8-49de-8b49-b4c04940c1ec\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"Apartamento\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660294278016.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_de30d09f75a64f35822b0e4951507ec4","parentId":"wrk_6e6c77c9d3874811a602ec1ca13ad009","modified":1660295671189,"created":1660294947051,"name":"category","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1660295325750.5,"_type":"request_group"},{"_id":"req_fe2bc6775ea848e6b4814e6088636e8f","parentId":"fld_de30d09f75a64f35822b0e4951507ec4","modified":1662093038353,"created":1660298058334,"url":"{{ _.baseURL }}/categories","name":"Create category already exists 400","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Category already exists\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"Apartamento\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660294278014.9375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e3407b4c675f4f32a542cd194d77b35c","parentId":"fld_de30d09f75a64f35822b0e4951507ec4","modified":1662384874513,"created":1660295088177,"url":"{{ _.baseURL }}/categories","name":"Create category not auth 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Invalid token\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"Casa\"\n \n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"}],"authentication":{},"metaSortKey":-1660294278013.375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_acb39b46721c4e3c936180528d5b2367","parentId":"fld_de30d09f75a64f35822b0e4951507ec4","modified":1661460268549,"created":1660294975144,"url":"{{ _.baseURL }}/categories","name":"Create category not admin 403","description":"```json\n{\n\t\"message\": \"User is not admin\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"Casa\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e52831f99b824d75b5d86565e7a6df19"}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660294278010.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_605fa5fc8d35443b9918fe1dfd156296","parentId":"fld_de30d09f75a64f35822b0e4951507ec4","modified":1661169385502,"created":1660295036677,"url":"{{ _.baseURL }}/categories","name":"get all categories 200","description":"Retorno esperado\n```json\n[\n\t{\n\t\t\"id\": \"9cbc3f2e-a6c8-49de-8b49-b4c04940c1ec\",\n\t\t\"name\": \"Apartamento\"\n\t}\n]\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1660294278007.125,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_401de2712fae40669a2dbe8a5289baab","parentId":"fld_de30d09f75a64f35822b0e4951507ec4","modified":1661169408289,"created":1660295215505,"url":"{{ _.baseURL }}/categories/{% response 'body', 'req_b5309de6863a41cf9c63c5c314798bab', 'b64::JC5pZA==::46b', 'never', 60 %}/properties","name":"get category properties 200","description":"Retorno esperado\n```json\n{\n\t\"id\": \"9cbc3f2e-a6c8-49de-8b49-b4c04940c1ec\",\n\t\"name\": \"Apartamento\",\n\t\"properties\": [\n\t\t{\n\t\t\t\"id\": \"8654ffd1-c1ea-414d-ad3e-06aeb5bce320\",\n\t\t\t\"sold\": false,\n\t\t\t\"value\": \"1000000.00\",\n\t\t\t\"size\": 350,\n\t\t\t\"createdAt\": \"2022-08-17T20:15:19.616Z\",\n\t\t\t\"updatedAt\": \"2022-08-17T20:15:19.616Z\",\n\t\t\t\"address\": {\n\t\t\t\t\"id\": \"6b9cad03-c4fb-46db-892a-70e75d285804\",\n\t\t\t\t\"district\": \"Rua Heleodo Pires de camargo\",\n\t\t\t\t\"zipCode\": \"18150000\",\n\t\t\t\t\"number\": \"67\",\n\t\t\t\t\"city\": \"Piedade\",\n\t\t\t\t\"state\": \"SP\"\n\t\t\t},\n\t\t\t\"category\": {\n\t\t\t\t\"id\": \"9cbc3f2e-a6c8-49de-8b49-b4c04940c1ec\",\n\t\t\t\t\"name\": \"Apartamento\"\n\t\t\t}\n\t\t}\n\t]\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1660294278005.5625,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e1858fc13b1d4439b0daa3ee0ad63e05","parentId":"fld_de30d09f75a64f35822b0e4951507ec4","modified":1661169460933,"created":1660297984765,"url":"{{ _.baseURL }}/categories/394d41c4-03d9-4edd-a064-936e53354b53/properties","name":"get category properties invalid id 404","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Category not found\"\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1660294278004.7812,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c26811117fae4c9fad75aa19d3cb2955","parentId":"fld_4fb26517aae946fdb6bf21b788848dae","modified":1661882296218,"created":1660295952001,"url":"{{ _.baseURL }}/properties","name":"create property not token 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Invalid token\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t \"value\": 1000000,\n \"size\": 350,\n \"address\": {\n \"district\": \"Rua Heleodo Pires de camargo\",\n \"zipCode\": \"18150000\",\n \"number\": \"67\",\n \"city\": \"Piedade\",\n \"state\": \"SP\"\n },\n \"categoryId\": \"{% response 'body', 'req_b5309de6863a41cf9c63c5c314798bab', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4b4ec9e06c2143dcaaed2a352d7e586b"}],"authentication":{},"metaSortKey":-1660295155880.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_4fb26517aae946fdb6bf21b788848dae","parentId":"wrk_6e6c77c9d3874811a602ec1ca13ad009","modified":1660295325738,"created":1660295325738,"name":"properties","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1660295325738,"_type":"request_group"},{"_id":"req_27bea8272cb34998a03c56d3a388e27d","parentId":"fld_4fb26517aae946fdb6bf21b788848dae","modified":1661460151752,"created":1660295959673,"url":"{{ _.baseURL }}/properties","name":"create property not admin 403","description":"Retorno esperado\n```json\n{\n\t\"message\": \"User is not admin\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t \"value\": 1000000,\n \"size\": 350,\n \"address\": {\n \"district\": \"Rua Heleodo Pires de camargo\",\n \"zipCode\": \"18150000\",\n \"number\": \"67\",\n \"city\": \"Piedade\",\n \"state\": \"SP\"\n },\n \"categoryId\": \"{% response 'body', 'req_b5309de6863a41cf9c63c5c314798bab', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4b4ec9e06c2143dcaaed2a352d7e586b"}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660295065652.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_037ed9f23fdb41b190d37226e480c829","parentId":"fld_4fb26517aae946fdb6bf21b788848dae","modified":1661460156044,"created":1660295902763,"url":"{{ _.baseURL }}/properties","name":"create property state length > 2 400","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Invalid state\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t \"value\": 1000000,\n \"size\": 350,\n \"address\": {\n \"district\": \"Rua Heleodo Pires de camargo\",\n \"zipCode\": \"18150000\",\n \"number\": \"67\",\n \"city\": \"Piedade\",\n \"state\": \"SPGO\"\n },\n \"categoryId\": \"{% response 'body', 'req_b5309de6863a41cf9c63c5c314798bab', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4b4ec9e06c2143dcaaed2a352d7e586b"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660294975425,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_efc3bb7e2b6f484fbedf3ad929ae915e","parentId":"fld_4fb26517aae946fdb6bf21b788848dae","modified":1661866870955,"created":1660298278232,"url":"{{ _.baseURL }}/properties","name":"create property zip code length > 8 400","description":"retorno esperado\n```json\n{\n\t\"message\": \"Invalid zip code\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t \"value\": 1000000,\n \"size\": 350,\n \"address\": {\n \"district\": \"Rua Heleodo Pires de camargo\",\n \"zipCode\": \"1815000033\",\n \"number\": \"67\",\n \"city\": \"Piedade\",\n \"state\": \"SP\"\n },\n \"categoryId\": \"{% response 'body', 'req_b5309de6863a41cf9c63c5c314798bab', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4b4ec9e06c2143dcaaed2a352d7e586b"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660294975400,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1ccdec6e3feb450ea57d1cfc11f7fe9b","parentId":"fld_4fb26517aae946fdb6bf21b788848dae","modified":1661460302334,"created":1660303230100,"url":"{{ _.baseURL }}/properties","name":"create property invalid category id 404","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Category not found\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t \"value\": 1000000,\n \"size\": 350,\n \"address\": {\n \"district\": \"Rua Heleodo Pires de camargo\",\n \"zipCode\": \"18150000\",\n \"number\": \"67\",\n \"city\": \"Piedade\",\n \"state\": \"SP\"\n },\n \"categoryId\": \"9f8ae6ce-e36c-4d9d-9bd7-b4c98cb4e4f4\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4b4ec9e06c2143dcaaed2a352d7e586b"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660294975387.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e17169294d464c57b81879b735b74fe0","parentId":"fld_4fb26517aae946fdb6bf21b788848dae","modified":1661882307421,"created":1660295336336,"url":"{{ _.baseURL }}/properties","name":"create property 201","description":"Retorno esperado\n```json\n{\n\t\"value\": 1000000,\n\t\"size\": 350,\n\t\"address\": {\n\t\t\"id\": \"6b9cad03-c4fb-46db-892a-70e75d285804\",\n\t\t\"district\": \"Rua Heleodo Pires de camargo\",\n\t\t\"zipCode\": \"18150000\",\n\t\t\"number\": \"67\",\n\t\t\"city\": \"Piedade\",\n\t\t\"state\": \"SP\"\n\t},\n\t\"category\": {\n\t\t\"id\": \"9cbc3f2e-a6c8-49de-8b49-b4c04940c1ec\",\n\t\t\"name\": \"Apartamento\"\n\t},\n\t\"id\": \"8654ffd1-c1ea-414d-ad3e-06aeb5bce320\",\n\t\"sold\": false,\n\t\"createdAt\": \"2022-08-17T20:15:19.616Z\",\n\t\"updatedAt\": \"2022-08-17T20:15:19.616Z\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t \"value\": 1000000,\n \"size\": 350,\n \"address\": {\n \"district\": \"Rua Heleodo Pires de camargo\",\n \"zipCode\": \"18150000\",\n \"number\": \"67\",\n \"city\": \"Piedade\",\n \"state\": \"SP\"\n },\n \"categoryId\": \"{% response 'body', 'req_b5309de6863a41cf9c63c5c314798bab', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4b4ec9e06c2143dcaaed2a352d7e586b"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660294975375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_a90a13af2ac14db99185422a82e5134d","parentId":"fld_4fb26517aae946fdb6bf21b788848dae","modified":1661460181835,"created":1660298373247,"url":"{{ _.baseURL }}/properties","name":"create property already exists 400","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Address already exists\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t \"value\": 1000000,\n \"size\": 350,\n \"address\": {\n \"district\": \"Rua Heleodo Pires de camargo\",\n \"zipCode\": \"18150000\",\n \"number\": \"67\",\n \"city\": \"Piedade\",\n \"state\": \"SP\"\n },\n \"categoryId\": \"{% response 'body', 'req_b5309de6863a41cf9c63c5c314798bab', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_4b4ec9e06c2143dcaaed2a352d7e586b"}],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660294885159.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_69ec4584d89f456fbe5bc649add2fba4","parentId":"fld_4fb26517aae946fdb6bf21b788848dae","modified":1661170023693,"created":1660296097602,"url":"{{ _.baseURL }}/properties","name":"list propertiers 200","description":"Retorno esperado\n```json\n[\n\t{\n\t\t\"id\": \"0a6c7d36-0999-44c1-93da-095101f5ada7\",\n\t\t\"sold\": false,\n\t\t\"value\": \"1000000.00\",\n\t\t\"size\": 350,\n\t\t\"createdAt\": \"2022-08-17T13:18:26.036Z\",\n\t\t\"updatedAt\": \"2022-08-17T13:18:26.036Z\",\n\t\t\"address\": {\n\t\t\t\"id\": \"31a55db8-d043-414e-ae19-19385ad0fc9c\",\n\t\t\t\"district\": \"Rua Heleodo Pires de camargo\",\n\t\t\t\"zipCode\": \"18150000\",\n\t\t\t\"number\": \"67\",\n\t\t\t\"city\": \"Piedade\",\n\t\t\t\"state\": \"SP\"\n\t\t},\n\t\t\"category\": {\n\t\t\t\"id\": \"d4cb44a2-e6c9-433a-b3c3-1946fe13800e\",\n\t\t\t\"name\": \"Apartamento\"\n\t\t}\n\t}\n]\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1660294794944.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_2c1add99023449c9a1983d7f27ab8c9c","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661460209027,"created":1660296600318,"url":"{{ _.baseURL }}/schedules","name":"create schedule not auth 401","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Invalid token\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"date\": \"04/25/1998\",\n\t\"time\": \"22:30\",\n\t\"propertyId\": \"{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_246f390fd5ea491d8543cc130615f30b"}],"authentication":{},"metaSortKey":-1660296398169,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_fd0b62979d8646f38dd080413fbdd9d0","parentId":"wrk_6e6c77c9d3874811a602ec1ca13ad009","modified":1660296391193,"created":1660296387572,"name":"schedules","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1660295325688,"_type":"request_group"},{"_id":"req_ef45496044d946d1b5fffe8ed9303624","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1665749147627,"created":1660296398119,"url":"{{ _.baseURL }}/schedules","name":"create schedule 201","description":"```json\n{\n\t\"message\": \"Schedule created\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"date\": \"2022/8/16\",\n\t\"hour\": \"12:30\",\n\t\"propertyId\": \"{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_246f390fd5ea491d8543cc130615f30b"}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660296398119,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_36bb58082f104c75a827c45c05d4a607","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661882439250,"created":1660733522474,"url":"{{ _.baseURL }}/schedules","name":"create schedule already exists 400","description":"```json\n{\n\t\"message\": \"User schedule already exists\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"date\": \"2022/8/16\",\n\t\"hour\": \"12:30\",\n\t\"propertyId\": \"{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_246f390fd5ea491d8543cc130615f30b"}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660296320479.0938,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_602e6171b31d42829d108fbb49ba1ba3","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661954253781,"created":1660727617521,"url":"{{ _.baseURL }}/schedules","name":"create schedule invalid hour < 8 400","description":"```json\n{\n\t\"message\": \"Invalid hour\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"date\": \"2022/8/15\",\n\t\"hour\": \"5:30\",\n\t\"propertyId\": \"{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_246f390fd5ea491d8543cc130615f30b"}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660296242839.1875,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5a0916a9c3564d94852b527b588ca0f8","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661882461635,"created":1661376067469,"url":"{{ _.baseURL }}/schedules","name":"create schedule invalid hour > 18 400","description":"```json\n{\n\t\"message\": \"Invalid hour\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"date\": \"2022/8/15\",\n\t\"hour\": \"18:30\",\n\t\"propertyId\": \"{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_246f390fd5ea491d8543cc130615f30b"}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660296204019.2344,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3fd5104b2c0f4d7fb40e62ea43bc20f0","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661882420728,"created":1660728302805,"url":"{{ _.baseURL }}/schedules","name":"create schedule invalid date 400","description":"```json\n{\n\t\"message\": \"Invalid Date\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"date\": \"2022/8/20\",\n\t\"hour\": \"10:30\",\n\t\"propertyId\": \"{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_246f390fd5ea491d8543cc130615f30b"}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660296165199.2812,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_dd9bcb0590e943d1b068ee0ce888b36c","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661460299157,"created":1660298443952,"url":"{{ _.baseURL }}/schedules","name":"create schedule invalid property id 404","description":"```json\n{\n\t\"message\": \"Property not found\"\n}\n```","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"date\": \"2022/8/15\",\n\t\"hour\": \"12:30\",\n\t\"propertyId\": \"13870660-5dbe-423a-9a9d-5c23b37943cf\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_246f390fd5ea491d8543cc130615f30b"}],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660296087559.375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_949ba7c0df814e05ab4b5fe98447309c","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661460236067,"created":1660297019602,"url":"{{ _.baseURL }}/schedules/properties/{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"list schedule not admin 403","description":"```json\n{\n\t\"message\": \"User is not admin\"\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.userToken }}"},"metaSortKey":-1660295776999.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8243accd16bc45ad9cefcb99dd681e71","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661170882429,"created":1660297088850,"url":"{{ _.baseURL }}/schedules/properties/{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"list schedule not token 401","description":"```json\n{\n\t\"message\": \"Invalid token\"\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1660295466440.125,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8e882cc636f64c4ebc9268455b15e7de","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661460242760,"created":1660297103381,"url":"{{ _.baseURL }}/schedules/properties/{% response 'body', 'req_e17169294d464c57b81879b735b74fe0', 'b64::JC5pZA==::46b', 'never', 60 %}","name":"list schedule 200","description":"Retorno esperado\n```json\n{\n\t\"id\": \"82befdbe-0e21-4bc6-80e5-af4bf108d7dd\",\n\t\"sold\": false,\n\t\"value\": \"1000000.00\",\n\t\"size\": 350,\n\t\"createdAt\": \"2022-08-12T18:14:38.967Z\",\n\t\"updatedAt\": \"2022-08-12T18:14:38.967Z\",\n\t\"schedules\": [\n\t\t{\n\t\t\t\"id\": \"128bb714-172f-4fa4-94be-891f0d30fa2f\",\n\t\t\t\"date\": \"2022-08-14\",\n\t\t\t\"hour\": \"12:30:00\",\n\t\t\t\"user\": {\n\t\t\t\t\"id\": \"3eb5458b-24c8-415b-b7f3-550895768e8e\",\n\t\t\t\t\"name\": \"Joana\",\n\t\t\t\t\"email\": \"joana@kenzie.com\",\n\t\t\t\t\"password\": \"$2a$10$HNZY4z8sHeJqJ3c2omP3kuQw6eJMSGL0gMTfenNwa5a7OaSAkvbdi\",\n\t\t\t\t\"isAdm\": false,\n\t\t\t\t\"isActive\": true,\n\t\t\t\t\"createdAt\": \"2022-08-12T18:13:00.045Z\",\n\t\t\t\t\"updatedAt\": \"2022-08-12T18:13:00.045Z\"\n\t\t\t}\n\t\t}\n\t],\n\t\"address\": {\n\t\t\"id\": \"251d5951-8d1c-4c67-97a0-e3c726b8d57b\",\n\t\t\"district\": \"Rua Heleodo Pires de camargo\",\n\t\t\"zipCode\": \"18150000\",\n\t\t\"number\": \"67\",\n\t\t\"city\": \"Piedade\",\n\t\t\"state\": \"SP\"\n\t},\n\t\"category\": {\n\t\t\"id\": \"fc7212d0-ca0b-446e-88c3-977001a53a20\",\n\t\t\"name\": \"Apartamento\"\n\t}\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660295466390.125,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b42932acc02249dc8bd8f11bfef787d0","parentId":"fld_fd0b62979d8646f38dd080413fbdd9d0","modified":1661460258958,"created":1660297344505,"url":"{{ _.baseURL }}/schedules/properties/13970660-5dbe-423a-9a9d-5c23b37944cf","name":"list schedule invalid id 404","description":"Retorno esperado\n```json\n{\n\t\"message\": \"Property not found\"\n}\n```","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{"type":"bearer","token":"{{ _.admToken }}"},"metaSortKey":-1660295311135.3125,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_394c566e3fd3fb75fc92ba5e86aa31233ecc843c","parentId":"wrk_6e6c77c9d3874811a602ec1ca13ad009","modified":1661381651830,"created":1660294225532,"name":"Base Environment","data":{"baseURL":"http://localhost:3000","userToken":"{% response 'body', 'req_e258343ec4614a0e8121407fe827fb81', 'b64::JC50b2tlbg==::46b', 'never', 60 %}","admToken":"{% response 'body', 'req_556b1d114f044c0ab442a38a148de1cb', 'b64::JC50b2tlbg==::46b', 'never', 60 %}"},"dataPropertyOrder":{"&":["baseURL","userToken","admToken"]},"color":null,"isPrivate":false,"metaSortKey":1660294225532,"_type":"environment"},{"_id":"jar_394c566e3fd3fb75fc92ba5e86aa31233ecc843c","parentId":"wrk_6e6c77c9d3874811a602ec1ca13ad009","modified":1660294225533,"created":1660294225533,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_8a3fcae2c6f849b7b957b6787627f833","parentId":"wrk_6e6c77c9d3874811a602ec1ca13ad009","modified":1660294225528,"created":1660294225528,"fileName":"e6","contents":"","contentType":"yaml","_type":"api_spec"}]}