Multipart Upload Initialize
Initialize multipart upload task:
- Store basic information of the file to be uploaded in the background.
- Create a unique upload identifier uploadId and return it.
Service Address
http://upload-az-cn.danghongyun.com/multipart/initMultipartUpload
Request Method
POST
Request Parameters
| Parameter | Description | Type | Required |
|---|---|---|---|
| token | The access token | String | Required |
| fileMD5 | The MD5 value of the file,If the MD5 value of the file is not provided, the merged file MD5 value will not be verified. | String | Optional |
| fileName | The file name | String | Required |
| fileSize | The file size | Long | Required |
| type | The file type | String | Required |
Response Example
{
"code":0,
"message":"success",
"result":"FF52BCC661DB4384B6AE15B5A8AE0090",
"success":true
}
Response Fields
| Field | Description |
|---|---|
| result | The id of the upload task |
Error Codes
| Code | Message |
|---|---|
| 0 | success |
| 10000 | exception |