Device Connectivity Made Easy

Focus on your product and innovation and leave communication and management to DeviceHive.

Get Started

Gets list of device types.

The result list is limited to device types the client has access to.

Request

HTTP Request

GET /devicetype

Parameters

Parameter NameRequiredTypeDescription
nameNostringFilter by device type name.
namePatternNostringFilter by device type name pattern. In pattern wildcards '%' and '_' can be used.
sortFieldNostringResult list sort field. Available values are ID and Name.
sortOrderNostringResult list sort order. Available values are ASC and DESC.
takeNointegerNumber of records to take from the result list.
skipNointegerNumber of records to skip from the result list.

Authorization

Access JSON Web Token (GetDeviceType)

Request Body

Do not supply a request body with this method.

Response

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

Property NameTypeDescription
idintegerDevice type identifier.
namestringDevice type name.
descriptionstringDevice type description.

Updated less than a minute ago

list


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.