Get the device information

Last Updated on : 2023-06-20 15:17:40download

Get the detailed information of a specified device.

API address

GET: /v1.0/iot-03/devices/{device_id}

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueDevice ID

Return parameter

Parameter nameTypeDescription

Description of result

Parameter nameTypeDescription
idStringDevice ID
uuidStringDevice UUID
categoryStringProduct category
nameStringDevice name
product_idStringProduct ID
product_nameStringProduct name
local_keyStringSecret key
subBooleanCheck whether it is a sub-device
asset_idStringAsset ID
ipStringThe IP address of the device
modelStringProduct model
time_zoneStringThe time zone where the device is located
active_timeLongThe time when the device is activated
update_timeLongThe time when the device is updated
create_timeLongThe time when the device is paired for the first time
onlineBooleanCheck whether the device is online

Request example

GET: /v1.0/iot-03/devices/xxxxxx1

Return example

    "result": {
        "sub": false,
        "create_time": 1575017570,
        "local_key": "11d7f7286caa****",
        "ip": "58.251.**.****",
        "asset_id": "1160****",
        "time_zone": "+08:00",
        "product_name": "Wi-Fi smart speaker SS190",
        "uuid": "12****",
        "active_time": 1584063323,
        "update_time": 1584939489,
        "product_id": "i9vkzktd",
        "name": "Wi-Fi smart speaker SS190",
        "online": false,
        "model": "SS190",
        "id": "747b2165d9449964****",
        "category": "znyxss"
    "t": 1591872112140,
    "success": true

Error code

For more information, see error code.