Skip to main content

Multipart Upload Initialize

Initialize multipart upload task:

  1. Store basic information of the file to be uploaded in the background.
  2. Create a unique upload identifier uploadId and return it.

Service Address

http://upload-az-cn.danghongyun.com/multipart/initMultipartUpload

Request Method

POST

Request Parameters

ParameterDescriptionTypeRequired
tokenThe access tokenStringRequired
fileMD5The MD5 value of the file,If the MD5 value of the file is not provided, the merged file MD5 value will not be verified.StringOptional
fileNameThe file nameStringRequired
fileSizeThe file sizeLongRequired
typeThe file typeStringRequired

Response Example

{
"code":0,
"message":"success",
"result":"FF52BCC661DB4384B6AE15B5A8AE0090",
"success":true
}

Response Fields

FieldDescription
resultThe id of the upload task

Error Codes

CodeMessage
0success
10000exception