Skip to content

视频目录列表

请求路径

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

响应参数

参数必选类型描述
codestring状态码:200-成功,400-失败
msgstring提示信息
dataobject消息内容

data 参数结构

参数必选类型描述
categoryListarray类别列表
categoryListRecentlyarray最近访问类别列表
categoryPlaybackListobject回放类别列表
totalstring总条数

categoryListcategoryListRecently 参数结构

参数必选类型描述
idstring列表id
namestring类别名称
sortstring排序从小到大
typestring1图片 2:视频 3:附件
totalstring素材总数
childrenarray视频子集列表

categoryPlaybackList 参数结构

参数必选类型描述
idstring列表id
namestring类别名称
sortstring排序从小到大
typestring1图片 2:视频 3:附件
childrenarray视频子集列表

响应示例

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失败