GET/api/devices/{device_id}/timeline

Read a device timeline

One day of a device: the check-ins it made (recorded, from telemetry) and, on today, the check-ins it will make (expected, simulated from its playlist and settings). source narrows both halves to one plugin setting or mashup.

4 parameters
device_idintegerrequired
Device id
datestringoptional
ISO 8601 date in the owner’s time zone, default today; an unreadable date reads as today
sourcestringoptional
PluginSetting:<id> or Mashup:<id>, one of the account’s own
hoursintegeroptional
How far ahead the strip looks, default 24: * `3` * `12` * `24`
Allowed:31224

3 status codes
200Success
dataobjectoptional
401Unauthorized
errorstringoptional
404Source belongs to another user

Error handling

A 401 is returned: Unauthorized. A 404 is returned: Source belongs to another user.