获取播放列表视频

Example

GET 获取播放列表视频

https://global.talk-cloud.net/vod/webapi/video/package/{package_id}

参数名 必选 类型 说明
Content-Type string application/json
Accept string application/json
version string 版本号:(预设:v2)
Tk-authkey string 企业Key
Timestamp string token生产时间:(预设:1641600967)
Tk-token string 加密token:(预设:59O8J455S192Cw82f5bfxVB052NhsUpK9ToBVw==)
参数名 是否必填 类型 说明
package_id int 播放列表id
参数名 类型 说明
result int 0成功 非0失败
msg string 接口消息
data objec 数据
data.package objec 视频包信息
data.package.id int 视频包ID
data.package.title string 视频包标题
data.package.videoCount int 视频总数
data.package.describe string 视频包描述
data.videoList objectList 视频包下面视频
data.videoList.id int 视频编号
data.videoList.videoId int 视频ID
data.videoList.videoTitle string 视频标题
data.videoList.videoPic string 视频路径
data.videoList.pv int 访问量
data.videoList.uv int 独立访客访问量
data.videoList.videoPicUrl string 视频地址
data.videoList.durationTime string 时长 格式化后
data.videoList.duration string 时长
data.videoList.assetId string 云编号
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
 {
    "result":0,
    "data":{
        "package":{
            "id":33,
            "title":"英语达人特训营-导学体验课",
            "describe":"本课程为Lucy老师的试听体验课,用于试听Lucy老师的上课风格,教学理念等。咨询及报名VIP班系统学习请联系Lucy老师本人,QQ\/微信:3223971531",
            "videoCount":14
        },
        "videoList":[
            {
                "id":334,
                "pv":28,
                "uv":3,
                "duration":"198.458",
                "videoId":1850,
                "videoTitle":"坦克300赛博版 —— gzy",
                "videoPic":"http:\/\/1500005930.vod2.myqcloud.com\/43844301vodtranscq1500005930\/476b53e83701925923359064825\/sampleSnapshot\/sampleSnapshot_105546_1.jpg",
                "videoPicUrl":"http:\/\/1500005930.vod2.myqcloud.com\/43844301vodtranscq1500005930\/476b53e83701925923359064825\/sampleSnapshot\/sampleSnapshot_105546_1.jpg",
                "durationTime":"00:03:18",
                "assetId":"3701925923359064825"
            },
            {
                "id":335,
                "pv":223,
                "uv":5,
                "duration":"100.1",
                "videoId":1851,
                "videoTitle":"欧拉(闪电猫:朋克猫)—— gzy",
                "videoPic":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/20210827_184719_ujnusexd.png",
                "videoPicUrl":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/20210827_184719_ujnusexd.png",
                "durationTime":"00:01:40",
                "assetId":"3701925923359036270"
            },
            {
                "id":156,
                "pv":844,
                "uv":57,
                "duration":"30.069",
                "videoId":1620,
                "videoTitle":"宝马5系.mp4",
                "videoPic":"http:\/\/1500005930.vod2.myqcloud.com\/43844301vodtranscq1500005930\/a0e237383701925922445443201\/sampleSnapshot\/sampleSnapshot_105546_1.jpg",
                "videoPicUrl":"http:\/\/1500005930.vod2.myqcloud.com\/43844301vodtranscq1500005930\/a0e237383701925922445443201\/sampleSnapshot\/sampleSnapshot_105546_1.jpg",
                "durationTime":"00:00:30",
                "assetId":"3701925922445443201"
            }
        ]
    },
    "msg":"成功"
}

© 2016-2023 北京拓课网络科技有限公司 版权所有  京ICP备17018423号-1 京公网安备11010502043461号