跳到主要内容

搜索页面

GET 

/wiki/search/pages

History

VersionChanges
v6.2.16Added in: v6.2.16
v6.43.0在Responses的Schema中增加字段,包括:isArchived, modifierID, refType, refID, spaceName, spaceID, subRefType, summary, tagIDs, updatedTime, tags, tags中字段包括:color, createdTime, createdUser, name, teamID, usedCount, id

搜索页面。

Request

Query Parameters

    teamID stringrequired

    团队ID

    requestUserID string

    用户 ID,此参数仅在作为 Oauth 机器人调用时才能传递。它用于以指定用户的身份执行操作

    limit integer

    Possible values: <= 100

    Default value: 50

    本次请求要返回的数量,默认值为50,超过100会被截断为100

    cursor string

    本次请求的起始位置

    keyword stringrequired

    Possible values: <= 100 characters

    搜索关键字

    spaceIDs string

    页面组 ID 列表,多个用逗号分隔,空字符串为搜索所有页面组

    includeArchived boolean

    默认值 false,true: 包含已归档页面,false: 不包含已归档页面

Responses

成功

Schema

    data

    object

    hasNext boolean

    是否有下一页

    nextCursor string

    下一页游标

    total integer

    搜索匹配总数

    pages

    object[]

  • Array [

  • fields

    object

    id string

    页面 ID

    title string

    页面标题

    isArchived boolean

    是否已归档

    modifierID string

    更新者 ID

    refType string

    引用类型

    refID string

    引用 ID

    spaceName string

    页面组名称

    spaceID string

    页面组 ID

    subRefType string

    子引用类型

    summary string

    摘要

    tagIDs string

    标签 ID,多个用逗号分隔

    updatedTime integer

    更新时间

    tags

    object

    color string

    标签颜色

    createdTime integer

    创建时间

    createdUser string

    创建者 ID

    name string

    标签名称

    teamID string

    团队 ID

    usedCount integer

    当前标签下的页面数

    id string

    标签 ID

    highlightFields

    object

    title string[]

    匹配到的标题

    content string[]

    匹配到的内容

  • ]

  • result string

    本次请求结果,SUCCESS|FAIL

    errorCode string

    本次请求错误码

    errorMsg string

    本次请求错误信息

    errorData object

    本次请求错误元数据

Loading...