设备接入 IOTDA-设备上报获取文件上传URL请求:示例

时间:2024-06-28 09:24:59

示例

Topic: $oc/devices/{device_id}/sys/events/up  
数据格式: 
{ 
    "object_device_id": "{object_device_id}", 
    "services": [{ 
        "service_id": "$file_manager", 
        "event_type": "get_upload_url", 
        "event_time": "20151212T121212Z",
         "paras": { 
            "file_name": "a.jpg",
            "file_attributes": {
                "hash_code": "58059181f378062f9b446e884362a526",
                "size": 1024
            }
         } 
    }] 
}
support.huaweicloud.com/api-iothub/iot_06_v5_3033.html