跳到主要内容

新建分类

服务地址

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

请求方法

POST

请求参数

参数说明类型是否必须
accessKey访问API用的accessKeyString必选
actionAPI名称,此接口为 "addVideoCategory"String必选
versionAPI版本,目前必须为2.0 String必选
timestampAPI调用时间戳,1970年1月1日以来的毫秒数,如1466488681033String必选
signature签名,请参考签名规则String必选
category分类名称, 最大20个字符String必选

响应示例

{
"code":0,
"message":"success",
"result":
{
"id":2,
"category":"newCategory"
},
"success":true
}
字段说明
id分类ID
category分类名称

响应错误码

错误码说明
0success
10000exception
10029video_category_already_exists
10083add_video_category_failed
10201api_not_exists