获取异步上传视频结果
POST
http://creator.moreapi.cn/api/douyin_v1/vod_upload_result请求参数
Body 参数multipart/form-data
task_id
string
必需
任务ID(异步上传视频返回的ID)
示例值:
95e13b1d-a440-405b-92c1-d612e36b1e17
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
path
null
必需
data
object
必需
task_id
string
任务ID
status
string
任务状态
result
object
必需
为null表示任务失败,为数值表示当前已上传的字节锚点,为object表示已上传成功
示例
{
"code": 200,
"msg": "success",
"path": null,
"data": {
"task_id": "2b308d6c-eb5b-49a0-8c14-97dd1245a5ee",
"status": "completed",
"result": {
"ResponseMetadata": {
"RequestId": "20241123094059AF9410B001B5F9CD5F2C",
"Action": "CommitUploadInner",
"Version": "2020-11-19",
"Service": "vod",
"Region": "cn-north-1"
},
"Result": {
"RequestId": "20241123094059AF9410B001B5F9CD5F2C",
"Results": [
{
"Vid": "v0200fg10000ct0j44nog65s9b1gvs00",
"VideoMeta": {
"Uri": "tos-cn-v-0015c001-alinc2/oMBQ8ZgPmhyEIEnErbiiMQBZYPE8vS0AAAIsM",
"Height": 1920,
"Width": 1080,
"OriginHeight": 1920,
"OriginWidth": 1080,
"Duration": 1826.4,
"Bitrate": 3306941,
"Format": "MP4",
"Size": 754974720,
"FileType": "video",
"Codec": "h264"
},
"GetPosterMode": "sync"
}
],
"CallbackArgs": "{\"psm\":\"douyin.creator.content\"}"
}
}
}
}
最后修改时间: 1 个月前