App Cloud APIs are used by mobile applications.
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/
https://docs.cognitivesystems.com/api/v1/
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sleep_times/data/{queried_days}
https://docs.cognitivesystems.com/api/v1/sleep_times/data/{queried_days}
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/sleep_times/data/{queried_days}?force_past=false' \
-H 'Authorization: YOUR_API_KEY_HERE'
the unarmed
/home
/0
or armed
/away
/ 1
history of the network
the array of days queried, length of array will match queried number of days
{ "avg_sleep_time_s": 82380, "avg_wake_time_s": 23280, "duration_avg_s": 27900, "queried_days": 6, "motion_state": { "data": [ … ], "from_ts": 1618243200, "bucket": 3600 }, "data": [ { … }, { … }, { … }, { … }, { … }, { … } ] }
https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/activity/{queried_days}
https://docs.cognitivesystems.com/api/v1/activity/{queried_days}
curl -i -X GET \
'https://docs.cognitivesystems.com/_mock/assets/specs/app-cloud/v1-5-x/activity/{queried_days}'
{ "queried_days": 7, "activity": [ { … }, { … }, { … }, { … }, { … }, { … }, { … } ] }