Multipart Upload Finish
Service Address
http://upload-az-cn.danghongyun.com/multipart/completeMultipartUpload
Request Method
POST
Request Parameters
Parameter | Description | Type | Required |
---|---|---|---|
token | The access token | String | Required |
uploadId | The id of the upload task | String | Required |
isEncrypt | Is encrypt or not. 0: no encryption, 1: encryption | int | Optional |
categoryId | The id of category | int | Optional |
isTranscoder | Is transcoder or not. 0: no, 1: yes | String | Optional |
videoType | The video type. 0: normal video, 1: vr, the default value is 0 | String | Optional |
transcodeTemplateGroupId | The id of the transcoding template group, If the value is empty, the default transcoding template group will be used for transcoding. | Integer | Optional |
capturePoints | The screenshot time point (in seconds) of the thumbnail/cover image after successful video upload. If the user sets the screenshot time point, the screenshot will be taken according to the time point, with a maximum of 8 screenshots. If the user sets less than 8 time points, the actual number of screenshots will be taken. If the user sets more than 8 time points, only the first 8 are valid, and multiple time points are separated by commas, eg: "5,10,15,20,25,30,35,40". | String | Optional |
isExtractFrame | Immediately draw frames after successfully uploading the video, 0 no, 1 yes | Integer | Optional |
frameInterval | The time interval for frame extraction (in seconds), if a frame is extracted, this parameter value needs to be set. | Integer | Optional |
tag | Video tags stored after uploading videos for retrieval | String | Optional |
Response Example
{
"code":0,
"message":"success",
"result":"998f1ae92015489bb530edcdd07e878e",
"success":true
}
Response Fields
Field | Description |
---|---|
result | The upload video id |
Error Codes
Code | Message |
---|---|
0 | success |
10000 | exception |