Last Updated on : 2023-06-20 12:34:14download
Get the file information after the file is uploaded.
GET: /v1.0/iot-03/app-contents/upload-file/{upload_token}/infos
Parameter name | Type | IN | Required | Description |
---|---|---|---|---|
upload_token | String | uri | true | The token in the return value when you call the API operation to get the file upload URL. |
Parameter name | Type | Description |
---|---|---|
result | SecStorageScanRsp | The information about the file. |
Description of result
Parameter name | Type | Description |
---|---|---|
public_url | String | The URL of the file. |
biz_url | String | The file object key when saving content images, videos, and banner images. |
file_id | String | The file ID. |
polling_token | String | The polling token. |
GET: /v1.0/iot-03/app-contents/file/upload/1113/infos
{
"result": {
"biz_url": "suramar/163032908172b4145c689.jpg",
"public_url": "https://public-data-daily-1254153901.cos.ap-shanghai.myqcloud.com/suramar/163032908172b4145c689.jpg? sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKID85RK8j3CFNI7i7pEuSkPp26xZvA9jPgp%26q-sign-time%3D1630329122%3B1630332722%26q-key-time%3D1630329122%3B1630332722%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D32fa5053c90e34109b1a4e032877c95b620e213d",
"file_id": "37ce1630329122807"
},
"t": 1630329122886,
"success": true
}
For more information, see error code.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback