Export page
GET/wiki/pages/:pageID/export
History
Version | Changes |
---|---|
v6.12.0 | Added in: v6.12.0 |
Export page.
Deprecated, please use async method.
Request
Path Parameters
The page ID
Query Parameters
团队ID
用户 ID,此参数仅在作为 Oauth 机器人调用时才能传递。它用于以指定用户的身份执行操作
Possible values: [png
]
The export format, different formats are supported for different types of pages. collaboration: png
Whether to hide the title, default: false.
Possible values: <= 2560
Default value: 1280
The width of the image, default: 1280, maximum: 2560.
Possible values: <= 1600
Default value: 800
The height of the image, default: 800, maximum: 1600.
Responses
- 200
- 401
- 403
- 404
- 500
成功
- application/octet-stream
- Schema
Schema
string
如果身份验证凭据不正确或丢失,则返回
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}
如果scope检验不通过,则返回
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Forbidden",
"errorMsg": "Scope is invalid"
}
如果未找到资源对象,则返回
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "NotFound",
"errorMsg": "Not Found"
}
内部服务器错误
- application/json
- Schema
- Example (from schema)
Schema
The result of this request.
The error code of this request.
Error message for this request.
{
"result": "FAIL",
"errorCode": "Internal Server Error",
"errorMsg": "Internal Server Error"
}