Device Connectivity Made Easy

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

Get Started

Gets information about device type and its devices.

Request

HTTP Request

GET /devicetype/{id}

Parameters

Parameter Name

Required

Type

Description

id

Yes

integer

Device type identifier.

Authorization

Access JSON Web Token (GetDeviceType)

Request Body

Do not supply a request body with this method.

Response

If successful, this method returns a DeviceType resource with the list of Devices in the response body.

Property Name

Type

Description

id

integer

Device type identifier.

name

string

Device type name.

description

string

Device type description.

device

object

The Device resource.

device.id

string

Device unique identifier.

device.name

string

Device display name.

device.data

object

Device data, a JSON object with an arbitrary structure.

device.networkId

integer

Associated network id.

device.deviceTypeId

integer

Associated device type id.

device.isBlocked

boolean

Indicates whether device is blocked.

Updated 3 years ago

get


Suggested Edits are limited on API Reference Pages

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