All Variables of a Device

Retrieve all variables belonging to a specific device, returned as a paginated list.

This endpoint supports the standard query conventions:

Example

curl -X GET 'https://api.surfact.com/api/v2.0/devices/~reefer-trailer-21/variables/?label__icontains=temp&fields=label,lastValue' \
  -H 'X-Auth-Token: your_token_here'
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Object id of the device, or ~label to address it by label.

Query Params
integer

Page number to retrieve. See Pagination.

integer

Items per page (default 50; 200 for variables). See Pagination.

string

Order results by an attribute; prefix - to reverse. See Sorting.

Search a string across label, name, and description. See Generic Search.

string

Comma-separated list of fields to include. See Dynamic Fields.

string

Comma-separated list of fields to omit. See Dynamic Fields.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json