Skip to content

Instantly share code, notes, and snippets.

@ethan-gallant
Created February 12, 2020 11:25
Show Gist options
  • Save ethan-gallant/567d7bbc9e727c934aaa4340b7bea83a to your computer and use it in GitHub Desktop.
Save ethan-gallant/567d7bbc9e727c934aaa4340b7bea83a to your computer and use it in GitHub Desktop.
{"_type":"export","__export_format":4,"__export_date":"2019-11-12T10:26:42.091Z","__export_source":"insomnia.desktop.app:v7.0.3","resources":[{"_id":"req_46361fd0daef4058926b4931828e15ed","authentication":{},"body":{},"created":1573538355662,"description":"","headers":[{"id":"pair_4a3dbc96b4a54069ab82dfe3b6e8ca38","name":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaXNfYWRtaW4iOmZhbHNlLCJpYXQiOjE1NzM1NDA5MTMsImV4cCI6MTU3MzU0NDUxM30.I7cRSFo_kGQAix0b3QNhQxrYe_kdpcjtSvyu5Gwa7Xs"}],"isPrivate":false,"metaSortKey":-1573538355762,"method":"POST","modified":1573542221980,"name":"Create API Key","parameters":[],"parentId":"fld_673265d408c44cd982b52015e8696af1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/auth/apikeys","_type":"request"},{"_id":"fld_673265d408c44cd982b52015e8696af1","created":1573542217314,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1573542217314,"modified":1573542235979,"name":"API Endpoints","parentId":"fld_19f342ec23624f81b3955295f0f2cc1b","_type":"request_group"},{"_id":"fld_19f342ec23624f81b3955295f0f2cc1b","created":1573525175137,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1573525175137,"modified":1573525288976,"name":"AUTH Methods","parentId":"wrk_704ebb2c02e9422eb36e6b9bfc71ab33","_type":"request_group"},{"_id":"wrk_704ebb2c02e9422eb36e6b9bfc71ab33","created":1573033757739,"description":"","modified":1573033757739,"name":"IOT Greenhouse","parentId":null,"_type":"workspace"},{"_id":"req_e6f3e5fdda744f78811a45e84c57d960","authentication":{},"body":{},"created":1573538677897,"description":"","headers":[{"id":"pair_6c640dc2a46943768851bfdba7220391","name":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaXNfYWRtaW4iOnRydWUsImlhdCI6MTU3MzU0MTY4NSwiZXhwIjoxNTczNTQ1Mjg1fQ.Hsnsec_OKGjN05lv3hhyA74n88GxdJ15-3gsn44fkvs"},{"id":"pair_c8becdf4138a4815a2165e7311ebdde8","name":"","value":""}],"isPrivate":false,"metaSortKey":-1573538355712,"method":"DELETE","modified":1573542220502,"name":"Delete API Key","parameters":[],"parentId":"fld_673265d408c44cd982b52015e8696af1","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/auth/apikeys/3","_type":"request"},{"_id":"req_7a0772fd9dce4e2ba566934de109406f","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"username\":\"testusernamexd\",\n\t\"password\":\"supersecretpassword\"\n}"},"created":1573525184449,"description":"","headers":[{"id":"pair_b37447d72df842e2946dfe04d3c58e29","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1573535331439,"method":"POST","modified":1573542209097,"name":"Get JWT (login)","parameters":[],"parentId":"fld_5cbfb8ca2b514cf7b1cb17a0a58c455d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/auth/getjwt","_type":"request"},{"_id":"fld_5cbfb8ca2b514cf7b1cb17a0a58c455d","created":1573542203394,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1573542203394,"modified":1573542203394,"name":"User Auth Methods","parentId":"fld_19f342ec23624f81b3955295f0f2cc1b","_type":"request_group"},{"_id":"req_b273225bf7d046b9919cb7ff5099d3cd","authentication":{},"body":{"mimeType":"application/json","text":""},"created":1573535331389,"description":"","headers":[{"id":"pair_24a55caf5cfb4e58944c6552560e5115","name":"Content-Type","value":"application/json"},{"id":"pair_3d55a81ac7e447749977df4fd86fc09d","name":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaXNfYWRtaW4iOnRydWUsImlhdCI6MTU3MzU0MDUwOCwiZXhwIjoxNTczNTQ0MTA4fQ.AR4-FGNpGP7dbOwKLwmVRARb4Vp3PFW5CRMOuXoXCXQ"}],"isPrivate":false,"metaSortKey":-1573535331389,"method":"POST","modified":1573542206933,"name":"Renew JWT","parameters":[],"parentId":"fld_5cbfb8ca2b514cf7b1cb17a0a58c455d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/auth/renew","_type":"request"},{"_id":"req_40cb9eb1f0504e168a9487b3fe9387c4","authentication":{},"body":{},"created":1573208801574,"description":"","headers":[{"id":"pair_5df0dabe76e445018d8e30e3c497b000","name":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNTczNTM0MzQ3LCJleHAiOjE1NzM1Mzc5NDd9.L83LnOxneafp-rN6IIJxTnmC11ojvN9GKb3hk80r-qo"}],"isPrivate":false,"metaSortKey":-1573208801574,"method":"GET","modified":1573534943532,"name":"Get All Logs","parameters":[{"id":"pair_dab0d8700f3c40f5b44adf82da6bb30d","name":"","value":""}],"parentId":"fld_9649dae6acde440a905d5e4e798071e0","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/logs","_type":"request"},{"_id":"fld_9649dae6acde440a905d5e4e798071e0","created":1573208159507,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1573208159507,"modified":1573208159507,"name":"LOG ACTIONS","parentId":"wrk_704ebb2c02e9422eb36e6b9bfc71ab33","_type":"request_group"},{"_id":"req_6a5d629f143c4fef903db47bf3f81756","authentication":{},"body":{},"created":1573209430802,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573208801570.875,"method":"GET","modified":1573210297305,"name":"Get Logs Belonging To Client","parameters":[{"disabled":true,"id":"pair_c5c2370feaa74d3fb7a22f63d3988869","name":"","value":""}],"parentId":"fld_9649dae6acde440a905d5e4e798071e0","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/logs/1","_type":"request"},{"_id":"req_216ad13a1962481ba9f6b92319f740bf","authentication":{},"body":{},"created":1573210048508,"description":"Start date is required. You do not need to specify end date as it will presumecurrent date is end date. Any moment recognized timestamp works. It is suggested to use a ISO-8601 timestamp. Example : {% now 'iso-8601', '' %}","headers":[],"isPrivate":false,"metaSortKey":-1573208801567.75,"method":"GET","modified":1573210379148,"name":"Filter All Logs by Date","parameters":[{"id":"pair_b0ac96d83c9f42da87e4494ba51e34b2","multiline":"text/plain","name":"start","type":"text","value":"2019-11-08T10:50:06+0000"},{"disabled":false,"id":"pair_72a6b481dcc64793ae808b056ce91b22","multiline":"text/plain","name":"end","type":"text","value":"2019-11-13T10:50:32+0000"}],"parentId":"fld_9649dae6acde440a905d5e4e798071e0","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/logs/dtRange","_type":"request"},{"_id":"req_7434a070e1694d41a0ecc051e3c63756","authentication":{},"body":{},"created":1573210284934,"description":"Filter All Logs by Date\nStart date is required. You do not need to specify end date as it will presumecurrent date is end date. Any moment recognized timestamp works. It is suggested to use a ISO-8601 timestamp. Example : 2019-11-08T10:53:00.162Z","headers":[],"isPrivate":false,"metaSortKey":-1573208801561.5,"method":"GET","modified":1573210518094,"name":"Filter Client Specific Logs By Date","parameters":[{"id":"pair_4ce81d72ff594666853ee0e6daf1e2e7","multiline":"text/plain","name":"start","type":"text","value":"2019-11-13T10:50:32+0000"},{"id":"pair_4eddd9d5e511491db82aaee8c5796f5e","multiline":"text/plain","name":"end","type":"text","value":"2019-11-13T10:50:32+0000"}],"parentId":"fld_9649dae6acde440a905d5e4e798071e0","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/logs/1/dtRange","_type":"request"},{"_id":"req_c0793ff325204443a2b708805f9033a5","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"serial\":\"123ACE\",\n\t\"maxWaterDaily\":5,\n\t\"waterSeconds\":5,\n\t\"waterThreshold\":11,\n\t\"queriesHourly\":60\n}"},"created":1573206956497,"description":"","headers":[{"id":"pair_ff3d40be0adb4b7fbfacd76332a387c0","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1573207527400,"method":"POST","modified":1573207571489,"name":"Create Client","parameters":[],"parentId":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/clients","_type":"request"},{"_id":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","created":1573206933346,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1573206933346,"modified":1573206943837,"name":"CLIENT ACTIONS (ARDUINOS)","parentId":"wrk_704ebb2c02e9422eb36e6b9bfc71ab33","_type":"request_group"},{"_id":"req_59001d9b5de8462cb3ef662bcc6b027d","authentication":{},"body":{},"created":1573207127363,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573207527375,"method":"GET","modified":1573207575027,"name":"Get Client","parameters":[],"parentId":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/clients/1","_type":"request"},{"_id":"req_3080aa47672943648a1a041b13fa0788","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"serial\":\"14423DDXC\",\n\t\"maxWaterDaily\":222\n}"},"created":1573207527350,"description":"","headers":[{"id":"pair_7f1d569305434dbab862a474439b16bd","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1573207527350,"method":"PUT","modified":1573207562371,"name":"Update Client","parameters":[],"parentId":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/clients/9","_type":"request"},{"_id":"req_c6ddba5aef304c078e0d192c6800d2cf","authentication":{},"body":{},"created":1573207507322,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573207507322,"method":"DELETE","modified":1573207511587,"name":"Delete Client","parameters":[],"parentId":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/clients/1","_type":"request"},{"_id":"req_aa449eebdc4241319ae78458e7dde88a","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"waterSeconds\":10\t\n}"},"created":1573207778203,"description":"","headers":[{"id":"pair_715db90c344c48ea8889c3dcc26a93c9","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1573207498172,"method":"POST","modified":1573208122338,"name":"Force Water Client","parameters":[],"parentId":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/clients/1/water","_type":"request"},{"_id":"req_a471880f20c34e96a34ee291777aeb1b","authentication":{},"body":{},"created":1573207871134,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573207493597,"method":"GET","modified":1573208794577,"name":"Get Current Sensor Stats","parameters":[],"parentId":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/clients/1/status","_type":"request"},{"_id":"req_f9889885abe44e398e0cc952539f9a35","authentication":{},"body":{},"created":1573207489022,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573207489022,"method":"GET","modified":1573207493798,"name":"Get All Clients","parameters":[],"parentId":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/clients","_type":"request"},{"_id":"req_1ab39e68ad7e49e5b0ec8046c144f5ec","authentication":{},"body":{},"created":1573524648151,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573207488972,"method":"GET","modified":1573525154939,"name":"Get all Client Requests","parameters":[],"parentId":"fld_0b9bf90c1ba844d7b5ec4f243f09a21d","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/clients/requests","_type":"request"},{"_id":"req_4bf07fe8859445658e8e6e909ee04746","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"username\":\"testusernamexd\",\n\t\"password\":\"supersecretpassword\",\n\t\"isadmin\":1\t\n}"},"created":1573206589832,"description":"","headers":[{"id":"pair_71aa7876fe9748d6a010e667a75f8d01","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1573206812489,"method":"POST","modified":1573206905457,"name":"Create User","parameters":[],"parentId":"fld_946c11187f304b80afa454c452fb52ca","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/users","_type":"request"},{"_id":"fld_946c11187f304b80afa454c452fb52ca","created":1573206886819,"description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1573206886819,"modified":1573206886819,"name":"USER ACTIONS","parentId":"wrk_704ebb2c02e9422eb36e6b9bfc71ab33","_type":"request_group"},{"_id":"req_486741c04b8d43499f464b48be77a09b","authentication":{},"body":{},"created":1573206774434,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573206812464,"method":"GET","modified":1573206907833,"name":"Get Specific User","parameters":[],"parentId":"fld_946c11187f304b80afa454c452fb52ca","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/users/1","_type":"request"},{"_id":"req_0db769d0c9ca450a9aac4b5e9f79c9d8","authentication":{},"body":{"mimeType":"application/json","text":"{\n\t\"isadmin\":1,\n\t\"password\":\"Youre Now An Admin So you Need a More secure Password\"\n}"},"created":1573206812289,"description":"","headers":[{"id":"pair_6f47ad34bebc42438169a3d900bbb45d","name":"Content-Type","value":"application/json"}],"isPrivate":false,"metaSortKey":-1573206812451.5,"method":"PUT","modified":1573206912209,"name":"Update User","parameters":[],"parentId":"fld_946c11187f304b80afa454c452fb52ca","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/users/3","_type":"request"},{"_id":"req_805cb17145574dd1916d251d8fdcc8a4","authentication":{},"body":{},"created":1573206799645,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573206812445.25,"method":"DELETE","modified":1573206915397,"name":"Delete specific user","parameters":[],"parentId":"fld_946c11187f304b80afa454c452fb52ca","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/users/1","_type":"request"},{"_id":"req_7c6707eaadb64db8a2f8b1d1b5d18028","authentication":{},"body":{},"created":1573206750328,"description":"","headers":[],"isPrivate":false,"metaSortKey":-1573206812439,"method":"GET","modified":1573206902282,"name":"Get All Users","parameters":[],"parentId":"fld_946c11187f304b80afa454c452fb52ca","settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingSendCookies":true,"settingStoreCookies":true,"url":"http://localhost:3000/users","_type":"request"},{"_id":"env_b0045bdfc151d71ff52cc0f440a4545e3395a4bf","color":null,"created":1573033757849,"data":{},"dataPropertyOrder":null,"isPrivate":false,"metaSortKey":1573033757849,"modified":1573033757849,"name":"Base Environment","parentId":"wrk_704ebb2c02e9422eb36e6b9bfc71ab33","_type":"environment"},{"_id":"jar_b0045bdfc151d71ff52cc0f440a4545e3395a4bf","cookies":[],"created":1573033757852,"modified":1573033757852,"name":"Default Jar","parentId":"wrk_704ebb2c02e9422eb36e6b9bfc71ab33","_type":"cookie_jar"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment