Get the list of network equipment

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

You can get a list of network configuration devices through this API, including devices that have been successfully configured and failed.

API address

GET: /v1.0/device/paring/tokens/{token}

Request parameter

Parameter nameTypeINRequiredDescription
tokenStringuritrueDevice configuration token

Return parameter

Parameter nameTypeDescription
resultParingResultReturn result

Description of result

Parameter nameTypeDescription
successListList of devices with successful network configuration
failedListList of devices that failed to configure network

Description of success

Parameter nameTypeDescription
device_idStringDevice ID
product_idStringProduct ID
categoryStringProduct Category
nameStringDevice Name

Description of failed

Parameter nameTypeDescription
device_idStringDevice ID
nameStringDevice Name
codeStringFailed error code
msgStringFailed error code description

Request example

GET: /v1.0/device/paring/tokens/xxx

Error code

For more information, see error code.