Last Updated on : 2023-06-21 07:12:57download
Get a list of devices on pages, including basic information and extension information.
GET: /v1.0/iot-02/lighting/devices
Description of body
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
pagination.page | int | body | true | The page number. |
pagination.pageSize | int | body | true | The number of items returned per page. |
spaceId | String | body | true | The ID of a specified space. |
Parameter name | Type | Description |
---|---|---|
total | int | The total number of devices. |
list | DeviceSaasCVO[] | The list of devices. |
GET: /v1.0/iot-02/lighting/devices
{
"spaceId": "14688692426811****",
"pagination": {
"page": 1,
"pageSize": 12
}
}
{
"result": {
"list": [
{
"thirdCategory": "zig_kg",
"productId": "ehmh****",
"secondCategory": "kg",
"activeTime": 1640068718701,
"icon": "smart/icon/bay1617940536153LBTd/****.png",
"customName": "",
"installTime": 1640068718701,
"ownerId": "45360622",
"deviceId": "vdevo16400687183****",
"deviceName": "",
"uuid": "vdevo16400687183****",
"mac": "",
"spaceId": "146886924268113****",
"uid": "bay1633683638972****",
"pointId": "",
"topCategoryCode": "dgzm",
"devicePower": 0
},
{
"thirdCategory": "zig_kg",
"productId": "eb3b****",
"secondCategory": "kg",
"activeTime": 1640068729237,
"icon": "smart/icon/bay1617940536153LBTd/****.png",
"customName": "",
"installTime": 1640068729237,
"ownerId": "4536****",
"deviceId": "vdevo16400687288****",
"deviceName": "",
"uuid": "vdevo16400687288****",
"mac": "",
"spaceId": "146886924268113****",
"uid": "bay1633683638972****",
"pointId": "",
"topCategoryCode": "dgzm",
"devicePower": 0
},
{
"thirdCategory": "wf_ble_kg",
"productId": "rnfk5qvo5ayh****",
"secondCategory": "kg",
"activeTime": 1640068613147,
"icon": "smart/icon/bay1617940536153LBTd/****.png",
"customName": "",
"installTime": 1640068613147,
"ownerId": "45360622",
"deviceId": "vdevo16400686128****",
"deviceName": "",
"uuid": "vdevo16400686128****",
"mac": "",
"spaceId": "146886924268113****",
"uid": "bay1633683638972****",
"pointId": "",
"topCategoryCode": "dgzm",
"devicePower": 0
},
{
"thirdCategory": "wf_ble_xdd",
"productId": "1uqqknvmyljd****",
"secondCategory": "xdd",
"activeTime": 1639378351108,
"icon": "smart/icon/bay1591620233561etUp/****.png",
"customName": "",
"installTime": 1639378351108,
"ownerId": "45360622",
"deviceId": "vdevo16393783507****",
"deviceName": "",
"uuid": "vdevo16393783507****",
"mac": "",
"spaceId": "146886924268113****",
"uid": "bay1633683638972****",
"pointId": "147028651497700****",
"topCategoryCode": "zm",
"devicePower": 0
},
{
"thirdCategory": "wf_ble_xdd",
"productId": "sxa3tjzapeal****",
"secondCategory": "xdd",
"activeTime": 1639377489574,
"icon": "smart/icon/bay1591620233561etUp/****.png",
"customName": "",
"installTime": 1639377489574,
"ownerId": "4536****",
"deviceId": "vdevo16393774893****",
"deviceName": "",
"uuid": "vdevo16393774893****",
"mac": "",
"spaceId": "146886924268113****",
"uid": "bay1633683638972****",
"pointId": "147028651497700****",
"topCategoryCode": "zm",
"devicePower": 0
},
{
"thirdCategory": "wf_ble_xdd",
"productId": "wobsckg5p6os****",
"secondCategory": "xdd",
"activeTime": 1639377505821,
"icon": "smart/icon/bay1591620233561etUp/****.png",
"customName": "",
"installTime": 1639377505821,
"ownerId": "45360622",
"deviceId": "vdevo16393775054****",
"deviceName": "",
"uuid": "vdevo16393775054****",
"mac": "",
"spaceId": "146886924268113****",
"uid": "bay1633683638972****",
"pointId": "147028651497700****",
"topCategoryCode": "zm",
"devicePower": 0
}
],
"total": 6
},
"t": 1640598532221,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback