物接入IoT Hub

    获取固件包详情

    方法 API 说明
    GET /v3/iot/management/ota/firmware/{firmwareId} 获取固件包详情

    请求参数

    参数名称 参数类型 是否必须 说明
    firmwareId String 必须 固件包ID

    返回参数

    一个FirmwarePackageDetail

    请求示例

    GET /v3/iot/management/ota/firmware/12345 HTTP/1.1
    
    Host: iotdm.gz.baidubce.com
    
    Authorization: {authorization}
    
    Content-Type: application/json; charset=utf-8

    返回示例

    HTTP/1.1 200 OK
    
    Content-Type: application/json; charset=utf-8
    
    x-bce-request-id: 993ff7e9-018b-4246-a7ba-5dddac970054
    
    {
    
    	"id": "12345",
    
    	"description": "device_description",
    
    	"version":"1.2.3",
    	
    	"fileId":"file_id",
    
    	"fileName":"file_name",
    
    	"downloadUrl":"https://download_url",
    
    	"schemaName": "door",
    
    	"schemaId": "agage-agage",
    
    	"createdAt": "2018-05-09T03:48:59Z",
    
    	"jobs":[
    
    			{
    
    				"id":"job_id",
    
    				"name": "job_name"
    
    			}
    
    		]
    
    }
    一篇
    创建固件包
    一篇
    获取固件包列表