WakeEventsResponse
events object[]required
Array [
devicestringrequired
e.g. /dev/sdb — as recorded, never accepted back as input.
fromStatestringrequired
Possible values: [active, standby]
toStatestringrequired
Possible values: [active, standby]
atstring<date-time>required
awakeDurationSeconds(integer | null)<int64>nullable
Present when this row is a wake (standby → active) and a later active → standby transition exists for the same device; seconds until that transition.
]
dailyWakeCounts object[]required
Array [
devicestringrequired
datestring<date>required
UTC calendar day the wakes occurred on.
countinteger<int32>required
Possible values: >= 0
]
WakeEventsResponse
{
"events": [
{
"device": "string",
"fromState": "active",
"toState": "active",
"at": "2024-07-29T15:51:28.071Z",
"awakeDurationSeconds": 0
}
],
"dailyWakeCounts": [
{
"device": "string",
"date": "2024-07-29",
"count": 0
}
]
}