Gets list of devices.

Request

HTTP Request

GET /device

Parameters

Parameter Name

Required

Type

Description

name

No

string

Filter by device name.

namePattern

No

string

Filter by device name pattern.

networkId

No

long

Filter by associated network identifier.

networkName

No

string

Filter by associated network name.

sortField

No

string

Result list sort field. Available values are Name, Status, Network and DeviceClass.

sortOrder

No

string

Available values are ASC and DESC.

take

No

integer

Number of records to take from the result list.

skip

No

integer

Number of records to skip from the result list.

Authorization

Access JSON Web Token (GetDevice)

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns array of Device resources in the response body.

Property Name

Type

Description

id

string

Device unique identifier.

name

string

Device display name.

data

object

Device data, a JSON object with an arbitrary structure.

networkId

integer

Associated network id.

isBlocked

boolean

Indicates whether device is blocked.