Skip to content

Get Reboot Statistics

GET
/api/reboot-events/statistics
curl --request GET \
--url 'https://example.com/api/reboot-events/statistics?organization_id=2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \
--header 'Authorization: Bearer <token>'

Get reboot statistics for organization

organization_id
required
Organization Id
string format: uuid

Successful Response

Media type application/json
RebootEventStatistics

Reboot statistics for dashboard

object
affected_devices
required
Affected Devices
integer
by_reason
required
By Reason
object
key
additional properties
integer
reboots_last_24h
required
Reboots Last 24H
integer
total_reboots
required
Total Reboots
integer
Example generated
{
"affected_devices": 1,
"by_reason": {
"additionalProperty": 1
},
"reboots_last_24h": 1,
"total_reboots": 1
}

Validation Error

Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}