跳到主要内容

导出页面

GET 

/wiki/pages/:pageID/export

History

VersionChanges
v6.12.0Added in: v6.12.0

导出页面。

已废弃,请使用异步导出接口

Request

Path Parameters

    pageID stringrequired

    页面 ID

Query Parameters

    teamID stringrequired

    团队ID

    requestUserID string

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

    format stringrequired

    Possible values: [png]

    导出格式,不同类型的页面支持导出不同的格式。 collaboration: png

    hideTitle boolean

    是否隐藏标题,true: 隐藏,false: 不隐藏。

    width integer

    Possible values: <= 2560

    Default value: 1280

    宽度,导出为 png 时有效。

    height integer

    Possible values: <= 1600

    Default value: 800

    高度,导出为 png 时有效。

Responses

成功

Schema

    string

Loading...