Get a list of sub-devices

Last Updated on : 2023-12-07 03:33:47download

Get the list of Zigbee sub-devices that have been successfully deployed.

API address

GET: /v1.0/devices/{device_id}/list-sub

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueGateway Device ID
discovery_timeLonguritrueThe time when the gateway discovers the sub-device, accurate to the second

Return parameter

Parameter nameTypeDescription
resultArrayListReturn result

Description of result

Parameter nameTypeDescription
serial_version_u_i_dLong
_d_e_f_a_u_l_t__c_a_p_a_c_i_t_yInteger
_e_m_p_t_y__e_l_e_m_e_n_t_d_a_t_aObject[]
_d_e_f_a_u_l_t_c_a_p_a_c_i_t_y__e_m_p_t_y__e_l_e_m_e_n_t_d_a_t_aObject[]
element_dataObject[]
sizeInteger
_m_a_x__a_r_r_a_y__s_i_z_eInteger
mod_countInteger

Request example

GET: /v1.0/devices/xxxid/list-sub?discovery_time=1566973348

Error code

For more information, see error code.