Skip to content

视频目录列表(旧,建议使用新接口,旧接口可能随时下架) ​

最新版本 ​

请求路径 ​

  • 请求方式:GET
  • 请求头:Content-Type:application/x-www-form-urlencoded
  • 接口地址:/Third/Library/videoCategoryList
  • 频率限制:10秒100次

响应参数 ​

参数必选类型描述
code是string状态码:200-成功,400-失败
msg是string提示信息
data是object消息内容

data 参数结构

参数必选类型描述
categoryList是array类别列表
categoryListRecently是array最近访问类别列表
categoryPlaybackList是object回放类别列表
total是string总条数

categoryList 和 categoryListRecently 参数结构

参数必选类型描述
id是string列表id
name是string类别名称
sort是string排序从小到大
type是string1图片 2:视频 3:附件
total是string素材总数
children是array视频子集列表

categoryPlaybackList 参数结构

参数必选类型描述
id是string列表id
name是string类别名称
sort是string排序从小到大
type是string1图片 2:视频 3:附件
children是array视频子集列表

响应示例 ​

json
{
    "code": 200,
    "data": {
        "total": "2",
        "categoryList": [
            {
                "id": "6",
                "name": "人物2",
                "sort": "3",
                "type": "2",
                "total": "0",
                "children": []
            }
        ],
        "categoryListRecently": [],
        "categoryPlaybackList": {
            "id": "5",
            "name": "人物2",
            "sort": "3",
            "type": "2",
            "children": []
        }
    },
    "msg": "success"
}

状态码说明 ​

状态码描述
200成功
400失败