# 公开的知识库列表

  • 查询所有开启了公开访问的知识库列表

# 请求

基本
HTTP URL https://hi-gw.weizhipin.com/open-apis/zhishu/library/space/open/list
HTTP Method GET
支持的应用类型 自建应用
权限要求
开启任一权限即可
知识库相关接口

# 请求头

名称 类型 必填 描述
Authorization string user_access_token
值格式:"Bearer access_token"
示例值:"Bearer t-7f1bcd13fc57d46bac21793a18e560"

# 响应

# 响应体

名称 类型 描述
code int 错误码,非 0 表示失败
message string 错误描述
zpData data
--visitCode string 文件visitCode
--name string 文件名称
--type String 文件的类型
docs 则为轻文档
sheet 则为轻表格
bs 则为毕升文件
file 则为云文件
--createOpenId string 文件创建者openId
--createTime long 文件创建时间,单位为ms
--latestModifyTime long 文件最后更新时间,单位为ms

# 响应体示例

{
  "code": 0,
  "zpData": [
    {
      "visitCode": "3WNzxpI3L1d",
      "type": "file",
      "name": "贾玉飞测试知识库",
      "createOpenId": "ou_b306f375bc2f95563b2882692cb99a84",
      "createTime": 1680575501000,
      "latestModifyTime": 1713695845000
    },
    {
      "visitCode": "QrwncEm1MJJ",
      "type": "file",
      "name": "陈景辉知识库-04-23",
      "createOpenId": "ou_65abdd228e26f4840914f5656a50fef1",
      "createTime": 1682233712000,
      "latestModifyTime": 1713689193000
    }
  ],
  "success": true
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
最后更新于 : 10/28/2024, 5:33:15 PM