This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
insomnia.json
1 lines (1 loc) · 13.4 KB
/
insomnia.json
1
{"_type":"export","__export_format":4,"__export_date":"2020-07-17T10:56:02.832Z","__export_source":"insomnia.desktop.app:v2020.3.0","resources":[{"_id":"req_034eb1e970d248fba86919d56cc26928","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\n}"},"created":1593607108122,"description":"","headers":[{"id":"pair_04e8ee85091d4a1ebf0ff04057ba5acc","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1593607108122,"method":"GET","modified":1593769670163,"name":"Check Access","parameters":[{"description":"","id":"pair_e7f56b318b0d40c28b8ec0a062c31c77","name":"request_logger","value":"SFMyNTY.g2gDbQAAAARJQ2hfbgYAlfPUDnMBYgABUYA.mfDjq6iODLeN1DRkjpscFk0jJwISVEu1E9g9quKCb_E"},{"description":"","id":"pair_d6f4f1bfa1344f3dae5d2c3268d79b8c","name":"device","value":"131fed8f-7e9b-4cb3-b4f1-e8dd469678f1"}],"parentId":"wrk_0ae5e522647a4d98a1c63ef72bb64566","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/access/e50348d3-b2a8-4b3a-8397-5d12601f03bc","_type":"request"},{"_id":"wrk_0ae5e522647a4d98a1c63ef72bb64566","created":1593606569609,"description":"","modified":1593606569609,"name":"Smart Home Auth","parentId":null,"scope":null,"_type":"workspace"},{"_id":"req_c2c0b1c4fdc9411582236a313e743ab9","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"lock\": {\n\t\t\"name\": \"Local dev\",\n\t\t\"type\": 1,\n\t\t\"users\": [\n\t\t\t\"[email protected]\"\n\t\t]\n\t}\n}"},"created":1593699607672,"description":"","headers":[{"id":"pair_8370a69d93a44662bafae708d7ba9b80","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1593699607672,"method":"PUT","modified":1594647829457,"name":"Update/add user to lock","parameters":[],"parentId":"fld_a41c4ffbff574724b2f9045338129608","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/locks/c8b8f6d5-624c-4deb-80a6-b1da8628df95","_type":"request"},{"_id":"fld_a41c4ffbff574724b2f9045338129608","created":1593681815962,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1593606965887.5,"modified":1593681819903,"name":"Locks","parentId":"wrk_0ae5e522647a4d98a1c63ef72bb64566","_type":"request_group"},{"_id":"req_51957d490c3c4a9092c14e9a527e5ddd","authentication":{},"body":{},"created":1593692440677,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1593692440677,"method":"GET","modified":1594384411414,"name":"View all locks","parameters":[],"parentId":"fld_a41c4ffbff574724b2f9045338129608","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/locks/","_type":"request"},{"_id":"req_6990726497c24dec95e436a12f2c84c9","authentication":{},"body":{},"created":1593700126180,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1593687132723.5,"method":"GET","modified":1594384494517,"name":"View lock","parameters":[],"parentId":"fld_a41c4ffbff574724b2f9045338129608","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/locks/","_type":"request"},{"_id":"req_d5bdba3f8444457cb2523976164f0522","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"lock\": {\n\t\t\"name\": \"External door\",\n\t\t\"type\": \"2\"\n\t}\n}"},"created":1593681824770,"description":"","headers":[{"id":"pair_25792fc979674fde942f66f63cda19d0","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1593681824770,"method":"POST","modified":1593769655310,"name":"New Lock","parameters":[],"parentId":"fld_a41c4ffbff574724b2f9045338129608","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/locks","_type":"request"},{"_id":"req_3804e6963952403a8aec1ddd7a207e85","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"lock\": \"lock-8650\",\n\t\"name\": \"pair example 2\",\n\t\"type\": \"tag\"\n}"},"created":1594216449998,"description":"","headers":[{"id":"pair_37268ec1fb4147a58819f44f8e1c5e66","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1594216449998,"method":"POST","modified":1594395145606,"name":"Pair Device","parameters":[],"parentId":"fld_376cfe536d3145c09fb2b296a3ecbfa9","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/devices/pair","_type":"request"},{"_id":"fld_376cfe536d3145c09fb2b296a3ecbfa9","created":1593606823653,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1593606823653,"modified":1593606823653,"name":"Devices","parentId":"wrk_0ae5e522647a4d98a1c63ef72bb64566","_type":"request_group"},{"_id":"req_a392862c5dea4c4da16b2d023738c684","authentication":{},"body":{},"created":1593607437419,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1593607437419,"method":"GET","modified":1593679765356,"name":"View User Devices","parameters":[],"parentId":"fld_376cfe536d3145c09fb2b296a3ecbfa9","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/devices","_type":"request"},{"_id":"req_1d66e42b872143a6814a399f67c19ebf","authentication":{"token":"{{ token }}","type":"bearer"},"body":{"mimeType":"application/json","text":"{\n\t\"device\": {\n\t\t\"name\": \"NFC phone sticker\",\n\t\t\"type\": \"nfc_tag\",\n\t\t\"secret\": \"plsdontguess\"\n\t}\n}"},"created":1593607473063,"description":"","headers":[{"id":"pair_a2e53381cece442a9036e461d82895e8","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1593607272770.5,"method":"POST","modified":1593788634020,"name":"New User Device","parameters":[],"parentId":"fld_376cfe536d3145c09fb2b296a3ecbfa9","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/devices","_type":"request"},{"_id":"req_e6092591a10a40be8c300d6ae0125fee","authentication":{"token":"{{ token }}","type":"bearer"},"body":{},"created":1593679797623,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1593607190446.25,"method":"DELETE","modified":1594649568572,"name":"Delete User Device","parameters":[],"parentId":"fld_376cfe536d3145c09fb2b296a3ecbfa9","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/devices/2260f5df-32d3-4976-a417-8b65084487c5","_type":"request"},{"_id":"req_bc9c58946a8c4b2faf9b7b44b59d89fc","authentication":{},"body":{},"created":1593681141021,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1593681141021,"method":"DELETE","modified":1593681149531,"name":"Delete User","parameters":[],"parentId":"fld_b3fa379a6d804f0b8c3d62a6f794aa29","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/users","_type":"request"},{"_id":"fld_b3fa379a6d804f0b8c3d62a6f794aa29","created":1593681049155,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1593606823603,"modified":1593681052778,"name":"Users","parentId":"wrk_0ae5e522647a4d98a1c63ef72bb64566","_type":"request_group"},{"_id":"req_0535d98fbd584c8fad05c68763f40f02","authentication":{},"body":{},"created":1593681179053,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1593681100852.5,"method":"GET","modified":1594292226535,"name":"Get User","parameters":[],"parentId":"fld_b3fa379a6d804f0b8c3d62a6f794aa29","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/users/1","_type":"request"},{"_id":"req_38ec030f18e7439caf54afb54effd56e","authentication":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRoX3Byb3ZpZGVyIjoiZ2l0aHViIiwiZW1haWwiOiJ0b21AdG9taGFpbmVzLnVrIiwiZ2l2ZW5OYW1lIjoiVG9tIEhhaW5lcyIsImlkIjo5MDg5MDU2LCJwaWN0dXJlIjoiaHR0cHM6Ly9hdmF0YXJzMi5naXRodWJ1c2VyY29udGVudC5jb20vdS85MDg5MDU2P3Y9NCIsInN0YXR1cyI6MSwiYXVkIjoiSm9rZW4iLCJleHAiOjE2MjU4Mjk0MTksImlhdCI6MTU5NDI5MjQxOSwiaXNzIjoiSm9rZW4iLCJqdGkiOiIyb2cxMTBoM3VxbjFzbXVuZGcwMDAwMDMiLCJuYmYiOjE1OTQyOTI0MTl9.l9H7EI7LlEFo1I3-JGBAc2kqzRUZs3xdvSaF_DcwL78","type":"bearer"},"body":{},"created":1593681060684,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1593681060684,"method":"GET","modified":1594292517942,"name":"View all users","parameters":[],"parentId":"fld_b3fa379a6d804f0b8c3d62a6f794aa29","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}{{ base_path }}/users","_type":"request"},{"_id":"req_45cd9e065bbd4888abe7303b96e84305","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\n}"},"created":1594200823189,"description":"","headers":[{"id":"pair_04e8ee85091d4a1ebf0ff04057ba5acc","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1590850371712.5,"method":"GET","modified":1594200881610,"name":"Handshake","parameters":[{"description":"","id":"pair_d6f4f1bfa1344f3dae5d2c3268d79b8c","name":"lock","value":"lock-1234"}],"parentId":"wrk_0ae5e522647a4d98a1c63ef72bb64566","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingFollowRedirects":"global","settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"{{ host }}/handshake/","_type":"request"},{"_id":"env_a5afe124582719c4f982f4853ccd567f3f886af2","color":null,"created":1593606569838,"data":{"base_path":"/api/v0","host":"http://localhost:4000"},"dataPropertyOrder":{"&":["host","base_path"]},"isPrivate":false,"metaSortKey":1593606569838,"modified":1593607199645,"name":"Base Environment","parentId":"wrk_0ae5e522647a4d98a1c63ef72bb64566","_type":"environment"},{"_id":"jar_a5afe124582719c4f982f4853ccd567f3f886af2","cookies":[{"creation":"2020-07-09T10:57:33.364Z","domain":"dwylauth.herokuapp.com","hostOnly":true,"httpOnly":true,"id":"39076494006924234","key":"_auth_key","lastAccessed":"2020-07-09T10:57:33.364Z","path":"/","value":"SFMyNTY.g3QAAAABbQAAAAtfY3NyZl90b2tlbm0AAAAYN0w5SlpLcC1fdmpnYmJobXN6YXhpQlU3.ThbTOvukbcaZmtennTo2ByCkHhjk86hu_M2w5qX77QY"},{"creation":"2020-07-09T11:01:58.881Z","domain":"localhost","hostOnly":true,"httpOnly":true,"id":"588298008327202","key":"_smart_home_auth_key","lastAccessed":"2020-07-14T14:20:59.174Z","path":"/","value":"SFMyNTY.g3QAAAABbQAAAANqd3RtAAABxWV5SmhiR2NpT2lKSVV6STFOaUlzSW5SNWNDSTZJa3BYVkNKOS5leUpoZFhSb1gzQnliM1pwWkdWeUlqb2laMmwwYUhWaUlpd2laVzFoYVd3aU9pSjBiMjFBZEc5dGFHRnBibVZ6TG5Wcklpd2laMmwyWlc1T1lXMWxJam9pVkc5dElFaGhhVzVsY3lJc0ltbGtJam81TURnNU1EVTJMQ0p3YVdOMGRYSmxJam9pYUhSMGNITTZMeTloZG1GMFlYSnpNaTVuYVhSb2RXSjFjMlZ5WTI5dWRHVnVkQzVqYjIwdmRTODVNRGc1TURVMlAzWTlOQ0lzSW5OMFlYUjFjeUk2TVN3aVlYVmtJam9pU205clpXNGlMQ0psZUhBaU9qRTJNalU0TWprME1Ua3NJbWxoZENJNk1UVTVOREk1TWpReE9Td2lhWE56SWpvaVNtOXJaVzRpTENKcWRHa2lPaUl5YjJjeE1UQm9NM1Z4YmpGemJYVnVaR2N3TURBd01ETWlMQ0p1WW1ZaU9qRTFPVFF5T1RJME1UbDkubDlIN0VJN0xsRUZvMUkzLUpHQkFjMmtxelJVWnMzeGR2U2FGX0Rjd0w3OA.ad94U5WAgAo7INUv75vmO8zLfDEdzY1-DmSBzdZFogQ"}],"created":1593606569844,"modified":1594736459174,"name":"Default Jar","parentId":"wrk_0ae5e522647a4d98a1c63ef72bb64566","_type":"cookie_jar"},{"_id":"spc_b6aa587b792d4203876d402baff45a6a","contentType":"yaml","contents":"","created":1593606588736,"fileName":"Smart Home Auth","modified":1593606588736,"parentId":"wrk_0ae5e522647a4d98a1c63ef72bb64566","_type":"api_spec"},{"_id":"env_5bdb326d729440dca70135c848203ba2","color":null,"created":1593606634103,"data":{"token":""},"dataPropertyOrder":{"&":["token"]},"isPrivate":false,"metaSortKey":1593606634103,"modified":1593607217122,"name":"Unauthenticated","parentId":"env_a5afe124582719c4f982f4853ccd567f3f886af2","_type":"environment"},{"_id":"env_4b4c1cb75744450fba68600564e54e1b","color":null,"created":1593606650986,"data":{"token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRoX3Byb3ZpZGVyIjoiZ2l0aHViIiwiZW1haWwiOiJ0b21AdG9taGFpbmVzLnVrIiwiZ2l2ZW5OYW1lIjoiVG9tIEhhaW5lcyIsImlkIjo5MDg5MDU2LCJwaWN0dXJlIjoiaHR0cHM6Ly9hdmF0YXJzMi5naXRodWJ1c2VyY29udGVudC5jb20vdS85MDg5MDU2P3Y9NCIsInN0YXR1cyI6MSwiYXVkIjoiSm9rZW4iLCJleHAiOjE2MjUxMzQzMzUsImlhdCI6MTU5MzU5NzMzNSwiaXNzIjoiSm9rZW4iLCJqdGkiOiIyb2VwZ2xhYzljNXBzM3RrbmMwMDAwMDQiLCJuYmYiOjE1OTM1OTczMzV9.tJuI68AWLxBGGu_Bhs45FC8p7KA18WPkwMPktnrztWU"},"dataPropertyOrder":{"&":["token"]},"isPrivate":false,"metaSortKey":1593606650986,"modified":1593606802505,"name":"Authenticated","parentId":"env_a5afe124582719c4f982f4853ccd567f3f886af2","_type":"environment"}]}