One device with its channels (read)
GET
/api/v1/devices/{id}
Authorizations
or
session
Type
API Key (cookie: pvmon_session)
or
token
API token pvm_<id>_<secret>.
Type
HTTP (bearer)
Parameters
Path Parameters
id*
Type
Requiredstring
Responses
The device.
application/json
JSON "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 }, "netting": "string", "read": "string", "status": [ { "name": "string", "label": { "additionalProperties": "string" } } ], "blocks": [ { "meter": "string", "label": "string", "role": "string", "block": "string", "channels": [ { "name": "string", "key": "string", "unit": "string" } ] } ]
{
}