All devices (read)
GET
/api/v1/devices
Authorizations
or
session
Type
API Key (cookie: pvmon_session)
or
token
API token pvm_<id>_<secret>.
Type
HTTP (bearer)
Responses
Every device with its state.
application/json
JSON "devices": [ { "id": "string", "profile": "string", "vendor": "string", "models": [ "string" ], "transport": "string", "verified": true, "state": "string", "interval_s": 0, "meters": [ "string" ], "last_poll": { "at": "2024-01-01T00:00:00Z", "took_ms": 0, "ok": true } } ]
{
}