你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Device - Update File Upload Status
此方法用于通知 IoT 中心已完成的文件上传。 有关详细信息,请参阅https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload。
POST https://fully-qualified-iothubname.azure-devices.net/devices/{deviceId}/files/notifications?api-version=2020-03-13
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
device
|
path | True |
string |
设备 ID。 |
api-version
|
query | True |
string |
Api 的版本。 |
请求正文
名称 | 类型 | 说明 |
---|---|---|
correlationId |
string |
|
isSuccess |
boolean |
|
statusCode |
integer |
|
statusDescription |
string |
响应
名称 | 类型 | 说明 |
---|---|---|
204 No Content |
文件上传完成状态对象 |
定义
FileUploadCompletionStatus
名称 | 类型 | 说明 |
---|---|---|
correlationId |
string |
|
isSuccess |
boolean |
|
statusCode |
integer |
|
statusDescription |
string |