多条节目详细信息

1. 接口描述

URL https://openapi.youku.com/router/rest.json
功能描述 多条节目详细信息
返回格式 Json,UTF8
HTTP请求方式 GET
当前接口版本 V3

2. 系统参数

参数名 参数全称 必选 参数类型 参数描述
action action true String youku.content.program.info
client_id client_id true String 应用的client id
access_token access token false String oauth2的token
format format false String 可选,指定响应格式。默认保持代理接口格式化,目前支持格式为xml,json,text
timestamp timestamp true String 客户端当前时间戳,精确到秒,timestamp与开放平台请求时间误差为6分钟
version version true String 3.0
sign sign true String 对API调用参数(除sign外)的md5加密值。详情见签名方法

3. 业务参数

参数名 参数全称 必选 参数类型 参数描述
show_id show_id true String 节目id,支持批量查询,每个id之间用“,”间隔
order_by order_by false String 排序规则,默认:showid:asc,还支持showtotal_vv、episode_total 、episode_last

4. 返回参数

参数名 参数全称 必选 参数类型 参数描述
total total true String 总集数
update_notice update_notice true String 更新提示
show_videostage show_videostage true String 节目视频的集数或期数
is_new is_new true String 角标(新)
paid paid true String 角标(0-免费观看,1-付费观看)
download_status download_status true String ALLOWED-所有用户可下载,DISABLED-所有用户不可下载,VIP_ALLOW 会员可下载
videoId videoId true String 视频
is_trailer is_trailer true String 角标(预告片)

5. 调用示例

https://openapi.youku.com/router/rest.json?show_id=6f5f1eefbfbd49efbfbd&opensysparams=
{"action":"youku.content.program.info","client_id":"xxxxxxx","timestamp":1503309847,
"access_token":"","version":"3.0","sign_method":"md5","sign":"bf3a12f9a29f17ebe47a3196a7bf4344"}
            

6. 响应示例

{
    "total": 58,
    "cost": 0.119,
    "e": {
        "error_msg": "OK",
        "error_code": 1
    },
    "openapi": {
        "traceId": "0bb4c20815033086040436872eef2b"
    },
    "update_notice": "",
    "videos": [
        {
            "show_videostage": 1,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgwNTg1MzAwOA==",
            "is_trailer": false
        },
        {
            "show_videostage": 2,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgwNTg1MzAyMA==",
            "is_trailer": false
        },
        {
            "show_videostage": 3,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgwODEyNTAxMg==",
            "is_trailer": false
        },
        {
            "show_videostage": 4,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgwODEyNTA0NA==",
            "is_trailer": false
        },
        {
            "show_videostage": 5,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgxMDMwOTEwNA==",
            "is_trailer": false
        },
        {
            "show_videostage": 6,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgxMDMwOTAyNA==",
            "is_trailer": false
        },
        {
            "show_videostage": 7,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgxMjIyODM4NA==",
            "is_trailer": false
        },
        {
            "show_videostage": 8,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgxMjIyODM2OA==",
            "is_trailer": false
        },
        {
            "show_videostage": 9,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgxOTk3Njk3Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 10,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgxOTk3NzAwNA==",
            "is_trailer": false
        },
        {
            "show_videostage": 11,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgyMjAwNDAxMg==",
            "is_trailer": false
        },
        {
            "show_videostage": 12,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgyMjEzMzc1Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 13,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgyNDA1NTYyOA==",
            "is_trailer": false
        },
        {
            "show_videostage": 14,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgyNDA1NTY0MA==",
            "is_trailer": false
        },
        {
            "show_videostage": 15,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgyNjIyODM5Mg==",
            "is_trailer": false
        },
        {
            "show_videostage": 16,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgyNjE1MjcyMA==",
            "is_trailer": false
        },
        {
            "show_videostage": 17,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgzNTc4MDg5Mg==",
            "is_trailer": false
        },
        {
            "show_videostage": 18,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgzNzUyMTg5Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 19,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgzNzUyMTkwMA==",
            "is_trailer": false
        },
        {
            "show_videostage": 20,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgzOTQxMTExMg==",
            "is_trailer": false
        },
        {
            "show_videostage": 21,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjgzOTQ1MzYwMA==",
            "is_trailer": false
        },
        {
            "show_videostage": 22,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg0MTA4OTQ1Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 23,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg0MTA4OTQyOA==",
            "is_trailer": false
        },
        {
            "show_videostage": 24,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg1MDU5MzQ4MA==",
            "is_trailer": false
        },
        {
            "show_videostage": 25,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg1MDU5MzU0NA==",
            "is_trailer": false
        },
        {
            "show_videostage": 26,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg1Mjc0NzkyNA==",
            "is_trailer": false
        },
        {
            "show_videostage": 27,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg1NDg4Mzk0MA==",
            "is_trailer": false
        },
        {
            "show_videostage": 28,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg1NDg4MzI1Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 29,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg1Njg2OTk2OA==",
            "is_trailer": false
        },
        {
            "show_videostage": 30,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg1Njg2OTk5Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 31,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg2NTIwODgxMg==",
            "is_trailer": false
        },
        {
            "show_videostage": 32,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg2NzY3NTQ2MA==",
            "is_trailer": false
        },
        {
            "show_videostage": 33,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg2NzY3NTQzNg==",
            "is_trailer": false
        },
        {
            "show_videostage": 34,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg2OTgyNzMyNA==",
            "is_trailer": false
        },
        {
            "show_videostage": 35,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg2OTgyNzM2NA==",
            "is_trailer": false
        },
        {
            "show_videostage": 36,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg3MjU5MDI0NA==",
            "is_trailer": false
        },
        {
            "show_videostage": 37,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg3MjU5MDI4NA==",
            "is_trailer": false
        },
        {
            "show_videostage": 38,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg4MTI5MTc3Mg==",
            "is_trailer": false
        },
        {
            "show_videostage": 39,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg4Mzc0NzUwOA==",
            "is_trailer": false
        },
        {
            "show_videostage": 40,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg4Mzc1ODA5Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 41,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg4NjAxNjYyNA==",
            "is_trailer": false
        },
        {
            "show_videostage": 42,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg4NjAxNjY1Mg==",
            "is_trailer": false
        },
        {
            "show_videostage": 43,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg4ODM5MTU3Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 44,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg5NzYyMDc1Mg==",
            "is_trailer": false
        },
        {
            "show_videostage": 45,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjg5NzYyMDc2NA==",
            "is_trailer": false
        },
        {
            "show_videostage": 46,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkwMDA4MjM2MA==",
            "is_trailer": false
        },
        {
            "show_videostage": 47,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkwMjM5NDMxNg==",
            "is_trailer": false
        },
        {
            "show_videostage": 48,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkwMjM5NDE0OA==",
            "is_trailer": false
        },
        {
            "show_videostage": 49,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkwNTQwMTYwMA==",
            "is_trailer": false
        },
        {
            "show_videostage": 50,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkxNjEyMTk2MA==",
            "is_trailer": false
        },
        {
            "show_videostage": 51,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkxNjEyNDEzMg==",
            "is_trailer": false
        },
        {
            "show_videostage": 52,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkxODY2NzU3Mg==",
            "is_trailer": false
        },
        {
            "show_videostage": 53,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkyMTMzMDE3Ng==",
            "is_trailer": false
        },
        {
            "show_videostage": 54,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkyNDcxMzUzNg==",
            "is_trailer": false
        },
        {
            "show_videostage": 55,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkyNDcxMzQ2OA==",
            "is_trailer": false
        },
        {
            "show_videostage": 56,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkzMzM2Njc0NA==",
            "is_trailer": false
        },
        {
            "show_videostage": 57,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkzNTU4ODI4MA==",
            "is_trailer": false
        },
        {
            "show_videostage": 58,
            "is_new": false,
            "paid": 0,
            "download_status": "ALLOWED",
            "videoId": "XMjkzNzg4NzA2NA==",
            "is_trailer": false
        }
    ]
}
            

7. 异常示例

8. 注意事项