设备发放 IoTDP-查询设备列表:响应示例

时间:2025-02-12 14:54:20

响应示例

状态码: 200

OK

{  "devices" : [ {    "device_id" : "d4922d8a-6c8e-4396-852c-164aefa6638f",    "node_id" : "ABC123456789",    "gateway_id" : "d4922d8a-6c8e-4396-852c-164aefa6638f",    "device_name" : "dianadevice",    "node_type" : "ENDPOINT",    "description" : "watermeter device",    "auth_info" : {      "auth_type" : "SECRET",      "secret" : "3b935a250c50dc2c6d481d048cefdc3c",      "fingerprint" : "dc0f1016f495157344ac5f1296335cff725ef22f",      "secure_access" : true,      "timeout" : 300    },    "product_id" : "b640f4c203b7910fc3cbd446ed437cbd",    "create_time" : "20190303T081011Z",    "provision_info" : {      "access_point" : {        "access_point_id" : "cn-north-4",        "access_point_name" : "cn-north-4",        "region_id" : "cn-north-4"      },      "allocation_status" : 0,      "allocation_strategy_type" : "base"    }  } ],  "page" : {    "count" : 1,    "marker" : "d4922d8a-6c8e-4396-852c-164aefa6638f"  }}
support.huaweicloud.com/api-iotps/ListDevices.html