400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

获取房间绑定课件

Example

请求方式 POST

https://global.talk-cloud.net/api/room/v1/getBindFile

参数名 必选 类型 说明
Content-Type string application/json;
Tk-authkey string 企业Key
参数名 是否必选 类型 说明
serial 房间编号 Int 11
thirdroomid 用户自定义房间号 String 11
参数名称 类型 描述
result int 0成功,其他失败
data array 0:成功
data.fileid String 文件id
data.filename String 文件名
data.size String 文件大小
data.uploaduserid String 上传用户id
data.uploadusername String 上传用户名称
data.uploadtime String 上传时间
data.filepath String 文件路径
data.downloadpath String 下载路径
data.swfpath String swf文件路径
data.pdfpath String pdf文件路径
data.cospdfpath String cos路径
data.filetype String 文件类型
data.pagenum String 页数
data.active String 文件是否可用 0:不公开文档,1公开文档
data.status String 状态 0:排队中 1:转换完成 2:转换失败 3:转换中
data.fileprop String 是否动画ppt
data.filecategory String 转换完成通知地址
data.isContentDocument String 0代表正常课件 1代表h5ol文件
data.type String 是否默认课件
data.sort String 课件排序值
data.path_arr Array 课件预览地址
data.data_type string 1:代表文件 2代表目录

返回示例

 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
{
  "result": 0,
  "data": [
    {
      "fileid": "4012011",
      "type": "0",
      "sort": "0",
      "warmvideo": "0",
      "data_type": "1",
      "active": "1",
      "catalogid": "0",
      "downloadpath": "\/document\/10785_20230717_173604_fpmutmmy\/10785_20230717_173604_fpmutmmy.doc",
      "dynamicppt": "0",
      "filecategory": "0",
      "filename": "网校WebAPI.doc",
      "filesetup": "0",
      "filetype": "doc",
      "isContentDocument": "0",
      "pagenum": "80",
      "swfpath": "\/document\/10785_20230717_173604_fpmutmmy\/10785_20230717_173604_fpmutmmy.jpg",
      "status": "1",
      "uploaduserid": "102864",
      "uploadthirduserid": "102864",
      "uploadusername": "xzj",
      "fileprop": "0",
      "uploadtime": "1689586567",
      "extend": {
        "width": 1190,
        "height": 1683
      },
      "size": "9066423",
      "pid": "0",
      "cospdfpath": "",
      "filepath": "\/document\/10785_20230717_173604_fpmutmmy\/10785_20230717_173604_fpmutmmy.jpg",
      "dynamicppt_thumb": 0,
      "pdfpath": "",
      "tailor": "imageMogr2\/thumbnail\/286x\/interlace\/0",
      "isshareuse": 0,
      "path_arr": [
        "https:\/\/doccdncf.talk-cloud.net\/static\/preview_1.16\/index.html?url=%2Fdocument%2F10785_20230717_173604_fpmutmmy%2F10785_20230717_173604_fpmutmmy-1.jpg&filename=%E7%BD%91%E6%A0%A1WebAPI.doc&filetype=doc&pagenum=80&ts=1709540005"
      ],
      "download_url": "https:\/\/\/document\/10785_20230717_173604_fpmutmmy\/10785_20230717_173604_fpmutmmy.doc",
      "preloadingzip": ""
    }
  ],
  "msg": ""
}