视频列表接口

接口名称:获取影片列表

接口地址:/openapi/template/vod

请求方式:GET

请求参数:

字段名 字段类型 字段说明 是否必填 默认值
limit int 请求条数 非必填
banner bool 轮播 非必填
hots bool 热榜 非必填
random bool 随机 非必填
categoryId int 分类id 必填
categoryPid int 类型id 必填
tagId int 类别 非必填
videoId int64 视频id 非必填
keyword string 关键字 非必填
region string 地区 非必填
language string 语言 非必填
label string 标签 非必填
year string 年份 非必填
page int 页码 非必填
specialId int 专题id 非必填
starId int64 影人id 非必填
offset int 偏移量与page二选一 非必填
tpl string 使用模板名称 非必填
order string 排序 非必填
regionFilterId int64 地区筛选Id 非必填
languageFilterId int64 语言筛选Id 非必填
labelFilterId int64 标签(题材)筛选Id 非必填
yearFilterId int64 年份筛选Id 非必填
chargeFilterId int64 收费模式筛选Id 非必填
chargingMode int 收费模式 1免费 2vip免费 3金币点播 非必填

响应结果:

200 成功

{
    "total": 0,
    "list": [
        {
            "id": 0,
            "name": "",
            "horizontalPoster": "",
            "verticalPoster": "",
            "screenshot": "",
            "date": 0,
            "category": null,
            "watchNums": 0,
            "popularity": 0,
            "title": "",
            "surfacePlot": "",
            "recommend": 0,
            "cycle": 0,
            "chargingMode": 0,
            "note": "",
            "introduce": "",
            "cycleImg": "",
            "duration": 0,
            "number": 0,
            "categoryPid": 0,
            "categoryChildId": 0,
            "buyMode": 0,
            "gold": 0,
            "currency": 0,
            "ScoreFormat": "",
            "DbScore": 0,
            "total": 0,
            "num": 0,
            "end": false,
            "directors": null,
            "actors": null,
            "areas": null,
            "year": "",
            "tag": null,
            "shelfDate": 0,
            "releaseDate": 0,
            "isVertical": 0
        }
    ],
    "update": 0,
    "count": 0
}

400 失败

{
    "module": "",
    "statusCode": 0,
    "message": ""
}

401 没有权限

{
    "module": "",
    "statusCode": 0,
    "message": ""
}

403 token失效

{
    "module": "",
    "statusCode": 0,
    "message": ""
}

results matching ""

    No results matching ""