Read a device once with draft changes (admin)
POST
/api/v1/config/probe
pvmon does not save the draft. If the device does not answer, the status is 200 and the field error is set. An incorrect draft gives the status 422.
Authorizations
session
Type
API Key (cookie: pvmon_session)
or
token
API token pvm_<id>_<secret>.
Type
HTTP (bearer)
Request Body
application/json
JSON "objects": [ { "kind": "connection", "id": "string", "body": { "additionalProperties": "string" } } ], "device": "string"
{
}
Responses
The values of every meter block.
application/json
JSON "device": "string", "profile": "string", "verified": true, "at": "2024-01-01T00:00:00Z", "took_ms": 0, "error": "string", "blocks": [ { "name": "string", "role": "string", "roles_allowed": [ "string" ], "category": "string", "channels": [ { "name": "string", "value": 0, "text": "string", "unit": "string" } ] } ]
{
}