跳到主要内容

更新视频

服务地址

http://api-az-cn.danghongyun.com/rest

请求方法

POST

请求参数

参数说明类型是否必须
accessKey访问API用的accessKeyString必选
actionAPI名称,此接口为 "updateVideoInfo"String必选
versionAPI版本,目前必须为2.0 String必选
timestampAPI调用时间戳,1970年1月1日以来的毫秒数,如1466488681033String必选
signature签名,请参考签名规则String必选
videoId视频IDString必选
fileName视频文件名String可选
thumbnail缩略图地址String可选
cover封面图地址String可选
title标题, 不超过50个字符String可选
playNum播放次数Integer可选
categoryId分类idInteger可选
status状态Integer可选
tag标签String可选
description视频简介String可选
width视频宽度Integer可选
height视频高度Integer可选
bitrate视频比特率Integer可选
audioBitrate音频比特率Integer可选
duration视频时长Integer可选

响应示例

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

响应错误码

错误码说明
0success
10000exception
10012video_not_exists
10017video_not_exists
10201api_not_exists