Get File Upload Results

Last Updated on : 2023-06-20 12:34:14download

Get the file information after the file is uploaded.

API address

GET: /v1.0/iot-03/app-contents/upload-file/{upload_token}/infos

Request parameter

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.

Return parameter

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.

Request example

GET: /v1.0/iot-03/app-contents/file/upload/1113/infos

Return example

{ "result": { "biz_url": "suramar/163032908172b4145c689.jpg", "public_url": " 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 }

Error code

For more information, see error code.