-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathInsomnia.json
1 lines (1 loc) · 17.6 KB
/
Insomnia.json
1
{"_type":"export","__export_format":4,"__export_date":"2021-03-22T09:36:45.003Z","__export_source":"insomnia.desktop.app:v2021.1.1","resources":[{"_id":"req_3b77df53cd7842d8a3b5f3a5bacfb92e","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616352964116,"created":1616329424279,"url":"http://{{ _.bridge }}/api/{{ _.user }}","name":"Resources","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616329424280,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"wrk_acb750c484864d4fab871162385c8966","parentId":null,"modified":1616321076872,"created":1616321064121,"name":"Hue","description":"","scope":"collection","_type":"workspace"},{"_id":"req_1dc23cca170843cd936c87eb25ad239f","parentId":"fld_9574df3cab3843fab612fb1134e2a362","modified":1616327559032,"created":1616327553604,"url":"http://{{ _.bridge }}/api/{{ _.user }}/scenes","name":"Scenes","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616327553605,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_9574df3cab3843fab612fb1134e2a362","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616327542912,"created":1616327542912,"name":"Scenes","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1616327542912,"_type":"request_group"},{"_id":"req_7702fd89998a41be81404e51cede7711","parentId":"fld_9574df3cab3843fab612fb1134e2a362","modified":1616352686300,"created":1616327639065,"url":"http://{{ _.bridge }}/api/{{ _.user }}/scenes/L4vUERCGxBQMCHX","name":"Scene By Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616327070413.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8e70a0869499449ba5ef6111b114fd3e","parentId":"fld_9574df3cab3843fab612fb1134e2a362","modified":1616353550609,"created":1616352775592,"url":"http://{{ _.bridge }}/api/{{ _.user }}/scenes/L4vUERCGxBQMCHX","name":"Update Scene","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"on\": true\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_09d2a10cd0814e6f92d784d8907b0c75"}],"authentication":{},"metaSortKey":-1616327070363.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d3fd5c9f8824464297fa074758b3e5dc","parentId":"fld_22905a2a35ba4125b2443260c82b4703","modified":1616326591825,"created":1616326587130,"url":"http://{{ _.bridge }}/api/{{ _.user }}/schedules","name":"Schedules","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616326587222,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_22905a2a35ba4125b2443260c82b4703","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616326579754,"created":1616326579754,"name":"Schedules","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1616326579754,"_type":"request_group"},{"_id":"req_4cb4eefcf7e34181a81f48fa6e108fc1","parentId":"fld_22905a2a35ba4125b2443260c82b4703","modified":1616326675686,"created":1616326673701,"url":"http://{{ _.bridge }}/api/{{ _.user }}/schedules/1","name":"Schedule By Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616325935964,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_03db3a9498aa4bc48aac5a49f8d57d93","parentId":"fld_22905a2a35ba4125b2443260c82b4703","modified":1616326695617,"created":1616326635189,"url":"http://{{ _.bridge }}/api/{{ _.user }}/schedules/1","name":"Delete Schedule","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616325284706,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_abb57c847fe94603b4f9ec301ab97bff","parentId":"fld_f816c4160f48479580b6cd16503837e6","modified":1616326309272,"created":1616323982190,"url":"http://{{ _.bridge }}/api/{{ _.user }}/groups","name":"Groups","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616323982190,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_f816c4160f48479580b6cd16503837e6","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616326288288,"created":1616326288288,"name":"Groups","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1616326288288,"_type":"request_group"},{"_id":"req_6d4c7ea3545145d48e1ba26b80edfa17","parentId":"fld_f816c4160f48479580b6cd16503837e6","modified":1616405658616,"created":1616326321341,"url":"http://{{ _.bridge }}/api/{{ _.user }}/groups/2","name":"Groups By Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616322760481.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_78ccc18a270342bea8035a618a97841c","parentId":"fld_f816c4160f48479580b6cd16503837e6","modified":1616353333623,"created":1616326377773,"url":"http://{{ _.bridge }}/api/{{ _.user }}/groups/0/action","name":"Update Group State","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"on\": true\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_09d2a10cd0814e6f92d784d8907b0c75"}],"authentication":{},"metaSortKey":-1616322149627.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_14710aa2d89d40d1805f5d32f2111afc","parentId":"fld_0162e7d4aa854eb8881d6b88e596373a","modified":1616325588887,"created":1616321538773,"url":"http://{{ _.bridge }}/api/{{ _.user }}/sensors","name":"Sensors","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616321538773,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_0162e7d4aa854eb8881d6b88e596373a","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616321530741,"created":1616321530741,"name":"Sensors","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1616321530742,"_type":"request_group"},{"_id":"req_7ca293f0033245cc9e9189ad35dba85f","parentId":"fld_0162e7d4aa854eb8881d6b88e596373a","modified":1616325594172,"created":1616321562318,"url":"http://{{ _.bridge }}/api/{{ _.user }}/sensors/6","name":"Motion Sensor","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616321538723,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c4e8d78949d84f84a8204acfc432e126","parentId":"fld_0162e7d4aa854eb8881d6b88e596373a","modified":1616325600252,"created":1616321597805,"url":"http://{{ _.bridge }}/api/{{ _.user }}/sensors/7","name":"Light Sensor","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616321538673,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3c8060e89faf43faaeec7750902a6ffa","parentId":"fld_0162e7d4aa854eb8881d6b88e596373a","modified":1616343161070,"created":1616321614174,"url":"http://{{ _.bridge }}/api/{{ _.user }}/sensors/78","name":"Sensor By Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616321538623,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_6c0ccec392cc410aab22f54e8f061cad","parentId":"fld_0162e7d4aa854eb8881d6b88e596373a","modified":1616325608699,"created":1616321637890,"url":"http://{{ _.bridge }}/api/{{ _.user }}/sensors","name":"Create Sensor","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"state\": {\n \"status\": 0\n },\n \"name\": \"Motion Sate Downstairs\",\n \"modelid\": \"RoomMotionStateSensor\",\n \"swversion\": \"1.0\",\n \"type\": \"CLIPGenericStatus\",\n \"uniqueid\": \"5ef107b6-a504-4c9f-9632-464c8310054f\",\n \"manufacturername\": \"Paulskit\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_a0ff6b4c6c2f4ed2aba6c25ccc2c478d"}],"authentication":{},"metaSortKey":-1616321538598,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d2fe8a3900f84d46b1e438eb14bbe37e","parentId":"fld_0162e7d4aa854eb8881d6b88e596373a","modified":1616343546643,"created":1616325447325,"url":"http://{{ _.bridge }}/api/{{ _.user }}/sensors/7/config","name":"Update Sensor Config","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"tholddark\": 1200\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_6cc5b0f5133d43e288cc9d91c561da20"}],"authentication":{},"metaSortKey":-1616321538591.75,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8ede34efb49b4f69ab592576bf555188","parentId":"fld_0162e7d4aa854eb8881d6b88e596373a","modified":1616326003653,"created":1616323120280,"url":"http://{{ _.bridge }}/api/{{ _.user }}/sensors/78/state","name":"Update Sensor State","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"presence\": false\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_2b7b6c2878dd45f2a22fdad422b846dc"}],"authentication":{},"metaSortKey":-1616321538585.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_1a0388b1af9e4447aa26c81a0e0f5cc3","parentId":"fld_0162e7d4aa854eb8881d6b88e596373a","modified":1616325627706,"created":1616321667124,"url":"http://{{ _.bridge }}/api/{{ _.user }}/sensors/79","name":"Delete Sensor","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616321538573,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d5906cde5df540adb85a4cd2a4ab56fc","parentId":"fld_9a213858f16744cab036ed9359da7d6e","modified":1616325631007,"created":1616321089370,"url":"http://{{ _.bridge }}/api/{{ _.user }}/rules","name":"Rules","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616321303201,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_9a213858f16744cab036ed9359da7d6e","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616321313000,"created":1616321313000,"name":"Rules","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1616321313000,"_type":"request_group"},{"_id":"req_22547ecda89b4c87a654977385e4e24b","parentId":"fld_9a213858f16744cab036ed9359da7d6e","modified":1616325637066,"created":1616321265304,"url":"http://{{ _.bridge }}/api/{{ _.user }}/rules/4","name":"Rule By Id","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616321303151,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_88893a01d4554c4ba521e6f26a0878f6","parentId":"fld_9a213858f16744cab036ed9359da7d6e","modified":1616325640445,"created":1616321303151,"url":"http://{{ _.bridge }}/api/{{ _.user }}/rules","name":"Create Rule","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"name\": \"P.OnTurnOff\",\n \"conditions\": [\n {\n \"address\": \"/sensors/78/state/presence\",\n \"operator\": \"eq\",\n \"value\": \"false\"\n },\n {\n \"address\": \"/sensors/78/state/presence\",\n \"operator\": \"dx\"\n }\n ],\n \"actions\": [\n {\n \"address\": \"/groups/2/action\",\n \"method\": \"PUT\",\n \"body\": {\n \"scene\": \"L4vUERCGxBQMCHX\"\n }\n }\n ]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_80daeb47d9644540af56deb2d4900822"}],"authentication":{},"metaSortKey":-1616321303101,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7ab41a9a41e24e56ad9c49e6c05c1922","parentId":"fld_9a213858f16744cab036ed9359da7d6e","modified":1616325644569,"created":1616321288156,"url":"http://{{ _.bridge }}/api/{{ _.user }}/rules/2","name":"Update Rule","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"conditions\": [\n\t\t{\n\t\t\t\"address\": \"/sensors/6/state/presence\",\n\t\t\t\"operator\": \"eq\",\n\t\t\t\"value\": \"false\"\n\t\t},\n\t\t{\n\t\t\t\"address\": \"/sensors/6/state/lastupdated\",\n\t\t\t\"operator\": \"ddx\",\n\t\t\t\"value\": \"PT00:00:01\"\n\t\t},\n\t\t{\n\t\t\t\"address\": \"/sensors/78/state/presence\",\n\t\t\t\"operator\": \"eq\",\n\t\t\t\"value\": \"true\"\n\t\t}\n\t]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e1a3ce82ab6240c9a1b4f48c0350345d"}],"authentication":{},"metaSortKey":-1616321303051,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_bbf25a69e76a4866b6d0b8c138cabf9d","parentId":"fld_9a213858f16744cab036ed9359da7d6e","modified":1616325647719,"created":1616321339644,"url":"http://{{ _.bridge }}/api/{{ _.user }}/rules/5","name":"Delete Rule","description":"","method":"DELETE","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1616321303001,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_9e4626520ff11498a72d874127ad57e43f517163","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616323316277,"created":1616321064203,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1616321064203,"_type":"environment"},{"_id":"jar_9e4626520ff11498a72d874127ad57e43f517163","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616321064206,"created":1616321064206,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_979c9250cb5f447e9a40e937cdc6e40a","parentId":"wrk_acb750c484864d4fab871162385c8966","modified":1616321064126,"created":1616321064126,"fileName":"Insomnia","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"env_784dfe2fd9414e8b96312f6d440559f2","parentId":"env_9e4626520ff11498a72d874127ad57e43f517163","modified":1616325557637,"created":1616323307097,"name":"Hue Local","data":{"bridge":"192.168.0.16","user":"-YmeU-cyV-CY5E1Zcw6uiqLVqzV1bU3FPSWnm-ud"},"dataPropertyOrder":{"&":["bridge","user"]},"color":null,"isPrivate":false,"metaSortKey":1616323307097,"_type":"environment"}]}