{"__v":1,"_id":"57f4b405531675240061d8af","category":{"project":"56130e29d2b2370d0096b91a","version":"56130e2ad2b2370d0096b91d","_id":"57f52ed668a53b2000e03efa","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-10-05T16:48:22.773Z","from_sync":false,"order":1,"slug":"stack-enabled","title":"Stack Enabled"},"parentDoc":null,"project":"56130e29d2b2370d0096b91a","user":"56130dcf8e503f0d00648b03","version":{"__v":11,"_id":"56130e2ad2b2370d0096b91d","project":"56130e29d2b2370d0096b91a","createdAt":"2015-10-05T23:56:26.509Z","releaseDate":"2015-10-05T23:56:26.509Z","categories":["56130e2bd2b2370d0096b91e","56130f638e503f0d00648b05","561317cdbe80130d00f188dd","561317d8ff92880d005ca212","56f97c0f8fef7520003f818e","570d751180c9010e00d77f4d","570d7543e2a0b40e0077aa90","571699927256fb0e00c1d01c","57f43db31592cb0e00761dd6","57f52ed668a53b2000e03efa","57f5350f485e6e2b005b2f27"],"is_deprecated":false,"is_hidden":false,"is_beta":true,"is_stable":true,"codename":"","version_clean":"0.0.0","version":"0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-10-05T08:04:21.442Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"examples":{"codes":[{"code":"curl -X GET 'https://api.stacklighting.com/v0/sense/motion-data?site_id=6133345811384985&device_id=dDEVVLmzGDydWnoJLy7AQGyLw&period=hourly&start_time=2016-09-04T00:00:00&end_time=2016-10-04T02:00:00 \\\n     -H 'Content-Type: application/json' \\\n     -H 'Authorization: Bearer YmE3MTU5MWItZTIwMC00MDc2LWJmZTQtZDH5YmUxMTA0ZTNmOjU3NjE2NzM5MzE1MjIwNDg='","language":"curl"}]},"method":"get","results":{"codes":[{"name":"","code":"{\n  \"dDEVVLmzGDydWnoJLy7AQGyLw\": [\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-05T23:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T01:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T14:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-06T15:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-06T16:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-07T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-07T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-07T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-07T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-07T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-07T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-07T13:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-07T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-07T23:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T01:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-08T13:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-08T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T01:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-09T14:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-09T15:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T15:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T16:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T17:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T18:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-10T19:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-10T20:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T21:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T22:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-10T23:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-11T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T01:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T15:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T16:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-11T17:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T18:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T19:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-11T23:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-12T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-12T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-12T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-12T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-13T12:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-13T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T01:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-14T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T01:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-15T14:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-15T15:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T14:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-16T15:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-16T16:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T04:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-17T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T15:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T16:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-17T17:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T18:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T19:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-17T20:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T21:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-17T22:00:00\"\n    },\n    {\n      \"level\": \"3\",\n      \"timestamp\": \"2016-09-17T23:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-18T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T13:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T15:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T16:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T17:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T18:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T21:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T22:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-18T23:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-19T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T01:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T10:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-19T13:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-19T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T00:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T01:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T09:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T11:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T12:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-20T13:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-20T14:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-21T01:00:00\"\n    },\n    {\n      \"level\": \"2\",\n      \"timestamp\": \"2016-09-21T02:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-21T03:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-21T04:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-21T05:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-21T06:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-21T07:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-21T08:00:00\"\n    },\n    {\n      \"level\": \"1\",\n      \"timestamp\": \"2016-09-21T10:00:00\"\n    }\n  ]\n}","language":"json","status":200}]},"settings":"","auth":"required","params":[{"_id":"57f4b405531675240061d8b4","ref":"","in":"query","required":true,"desc":"The unique identifier for the site.","default":"","type":"string","name":"site_id"},{"_id":"57f4b405531675240061d8b3","ref":"","in":"query","required":true,"desc":"The unique identifier for the device.","default":"","type":"string","name":"device_id"},{"_id":"57f4b405531675240061d8b2","ref":"","in":"query","required":true,"desc":"The unit of measurement for the time passed between start and end times.","default":"hourly","type":"string","name":"period"},{"_id":"57f4b405531675240061d8b1","ref":"","in":"query","required":true,"desc":"The period's start time.","default":"","type":"string","name":"start_time"},{"_id":"57f4b405531675240061d8b0","ref":"","in":"query","required":true,"desc":"The period's end time.","default":"","type":"string","name":"end_time"}],"url":"/sense/motion-data?site_id=:site_id&device_id=:device_id&period=:period&start_time=:start_time&end_time=:end_time"},"isReference":true,"order":2,"body":"","excerpt":"This endpoint returns motion data information from a device.\n\n<strong>Currently only available to <a href=\"http://stacklighting.com/stack-enabled\">Stack Enabled</a> partners.</strong> Contact partners:::at:::stacklighting.com for more information.","slug":"motion-data","type":"endpoint","title":"Motion Data"}

getMotion Data

This endpoint returns motion data information from a device. <strong>Currently only available to <a href="http://stacklighting.com/stack-enabled">Stack Enabled</a> partners.</strong> Contact partners@stacklighting.com for more information.

Definition

{{ api_url }}{{ page_api_url }}

Parameters

Query Params

site_id:
required
string
The unique identifier for the site.
device_id:
required
string
The unique identifier for the device.
period:
required
stringhourly
The unit of measurement for the time passed between start and end times.
start_time:
required
string
The period's start time.
end_time:
required
string
The period's end time.

Examples


Result Format


User Information

Try It Out

get
{{ tryResults.results }}
Method{{ tryResults.method }}
Request Headers
{{ tryResults.requestHeaders }}
URL{{ tryResults.url }}
Request Data
{{ tryResults.data }}
Status
Response Headers
{{ tryResults.responseHeaders }}