Skip to content

Status level of every device over time (read)​

GET
/api/v1/status

The list starts with the oldest entry. It has an entry only where the level changes. The first entry is the level that was active at start.

Authorizations​

or
session
Type
API Key (cookie: pvmon_session)
or
token

API token pvm_<id>_<secret>.

Type
HTTP (bearer)

Parameters​

Query Parameters

start

RFC 3339 time or local date.

Type
string
end

RFC 3339 time or local date (inclusive).

Type
string

Responses​

One list of changes for each device.

application/json
JSON
{
  
"devices": [
  
  
{
  
  
  
"id": "string",
  
  
  
"changes": [
  
  
  
  
{
  
  
  
  
  
"at": "2024-01-01T00:00:00Z",
  
  
  
  
  
"level": "ok"
  
  
  
  
}
  
  
  
]
  
  
}
  
]
}

Samples​

Version 0.4.0-66c93c2. MIT license.