课件详情

Example

GET 课件详情

https://global.talk-cloud.net/vod/webapi/video/{video_id}/courseware

参数名 必选 类型 说明
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==)
参数名 是否必填 类型 说明
video_id number 视频ID
参数名 类型 说明
result int 0成功 非0失败
msg string 接口消息
data object 数据
data.id int 视频课件ID
data.fileId int 文件ID
data.videoId int 视频ID
data.createTime string 创建时间
data.titleList object[] 标题列表
data.titleList.id int 标题ID
data.titleList.title string 标题
data.titleList.page int 对于页码
data.titleList.url string 对应图片地址
data.titleList.coursewareId int 课件ID
data.titleList.timePoint int 时间点
data.fileInfo object 文件信息
data.fileInfo.fileid int 文件ID
data.fileInfo.filename string 文件名称
data.fileInfo.newfilename string 实际文件名称
data.fileInfo.size int 文件大小
data.fileInfo.filetype string 文件类型
data.fileInfo.status int 文件状态(0:等待;1:完成;2:失败3:进行中)
data.fileInfo.fileDownloadUrl string 文件下载地址
data.fileInfo.filePreviewUrl string 文件预览地址
data.fileInfo.pagenum int 总页数
data.fileInfo.pageImageUrl string [] 页对应图片(status = 1)
 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
    "result":0,
    "data":{
        "id":100,
        "fileId":120402,
        "videoId":2260,
        "createTime":"2021-11-08 14:40:24",
        "fileInfo":{
            "fileid":120402,
            "filename":"转码测试.pdf",
            "newfilename":"3f0d5f0a36ab96e335e4acc028e036c7.pdf",
            "size":1442559,
            "filetype":"pdf",
            "status":1,
            "pagenum":6,
            "fileDownloadUrl":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7.pdf",
            "filePreviewUrl":"https:\/\/static-demo.talk-cloud.net\/static\/preview_1.0\/index.html?url=\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-1.jpg&filetype=pdf&pagenum=6",
            "pageImageUrl":[
                "https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-1.jpg",
                "https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-2.jpg",
                "https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-3.jpg",
                "https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-4.jpg",
                "https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-5.jpg",
                "https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-6.jpg"
            ]
        },
        "titleList":[
            {
                "id":179,
                "title":"1",
                "page":1,
                "url":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-1.jpg",
                "coursewareId":100,
                "timePoint":1
            },
            {
                "id":180,
                "title":"2",
                "page":2,
                "url":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-2.jpg",
                "coursewareId":100,
                "timePoint":2
            },
            {
                "id":181,
                "title":"3",
                "page":3,
                "url":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-3.jpg",
                "coursewareId":100,
                "timePoint":3
            },
            {
                "id":182,
                "title":"4",
                "page":4,
                "url":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-4.jpg",
                "coursewareId":100,
                "timePoint":4
            },
            {
                "id":183,
                "title":"5",
                "page":5,
                "url":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-5.jpg",
                "coursewareId":100,
                "timePoint":5
            },
            {
                "id":184,
                "title":"6",
                "page":6,
                "url":"https:\/\/hwdemocdn.talk-cloud.net\/cospath\/3f0d5f0a36ab96e335e4acc028e036c7-6.jpg",
                "coursewareId":100,
                "timePoint":6
            }
        ]
    },
    "msg":"成功"
}

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