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

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

响应示例

状态码: 200

OK

  • 示例 1

    {  "page" : {    "count" : 2,    "marker" : 2  },  "strategies" : [ {    "strategy_id" : "599d1975-ec30-4a5f-a390-ef388a1fbc70",    "strategy_type" : "base",    "access_points" : {      "access_point_id" : "DMP-CNNorth-4-1",      "access_point_name" : "设备管理-北京四-1",      "region_id" : "cn-north-4"    },    "base_strategy_info" : {      "priority" : 0,      "keyword" : "mqttd",      "app_id" : "dc0f1016f495157344ac5f1296335cff725ef22f",      "app_name" : "mqttApp"    }  }, {    "strategy_id" : "599d1975-ec30-4a5f-a390-ef388a1fbc70",    "strategy_type" : "base",    "access_points" : {      "access_point_id" : "DMP-CNNorth-4-1",      "access_point_name" : "设备管理-北京四-1",      "region_id" : "cn-north-4"    },    "base_strategy_info" : {      "priority" : 0,      "keyword" : "mqttd",      "app_id" : "dc0f1016f495157344ac5f1296335cff725ef22f",      "app_name" : "mqttApp",      "keyword_from" : "deviceName"    }  } ]}
  • 示例 2

    {  "page" : {    "count" : 1,    "marker" : 1  },  "strategies" : [ {    "strategy_id" : "599d1975-ec30-4a5f-a390-ef388a1fbc70",    "strategy_type" : "certificates",    "access_points" : {      "access_point_id" : "DMP-CNNorth-4-1",      "access_point_name" : "设备管理-北京四-1",      "region_id" : "cn-north-4"    },    "cert_strategy_info" : {      "cert_id" : "599d1975-ec30-4a5f-a390-ef388a1fbc70",      "cert_name" : "mqttCaCert",      "app_id" : "dc0f1016f495157344ac5f1296335cff725ef22f",      "app_name" : "mqttApp"    }  } ]}
  • 示例 3

    {  "page" : {    "count" : 1,    "marker" : 1  },  "strategies" : [ {    "strategy_id" : "599d1975-ec30-4a5f-a390-ef388a1fbc70",    "strategy_type" : "functions",    "access_points" : {      "access_point_id" : "DMP-CNNorth-4-1",      "access_point_name" : "设备管理-北京四-1",      "region_id" : "cn-north-4"    },    "function_strategy_info" : {      "func_name" : "599d1975-ec30-4a5f-a390-ef388a1fbc70",      "func_urn" : "urn:fss:xxxxxxxxx:7aad83af3e8d42e99ac194e8419e2c9b:function:default:test"    }  } ]}
support.huaweicloud.com/api-iotps/ListStrategies.html