Retrieve Device Variable

Retrieves a single device variable, if the requesting manager has access permissions to it.

URL: /api/v1/device-variables/{id}/

Method: GET

Success Response

Code: 200 OK

Content example:

Response (application/json)
{
    "id": 2013,
    "created_at": "2021-01-27T09:00:51Z",
    "variable": "v1",
    "value": "aaa",
    "device": 1112
}
circle-info

The requester must have the appropriate access permissions for the device variable being retrieved.

Was this helpful?