获取模型SDK信息

GET /api/v1/deviceModels/$modelId/sdks

获取模型开发SDK信息

URL参数

参数名 类型 必填 描述 限制
modelId string 模型唯一标识

请求样例

GET /api/v1/deviceModels/9e1a567d-e375-472e-a144-fa9eb8e990b4/sdks HTTP/1.1
Host: 60.205.223.53:8443
Authorization: Bearer xxx.xxxx.xxx
Cache-Control: no-cache

响应参数

参数名 类型 必填 描述 限制
modelId int 总记录数
platform String[] 支持平台类型
version string SDK版本
sdkUrl string SDK下载地址

响应样例

{
    "returnCode": 0,
    "result": [
        {
            "modelId": "9e1a567d-e375-472e-a144-fa9eb8e990b4",
            "platform": [
                "raspberrypi2b",
                "esp8266_12f",
                "linux",
                "arduino_yun"
            ],
            "version": "0.3",
            "sdkUrl": "http://private-iot-glodon.oss-cn-beijing.aliyuncs.com/device/sdk/9e1a567d-e375-472e-a144-fa9eb8e990b4/0.3/glodon.iot.sdk.tar.bz2",
            "deleted": false
        }
    ]
}