mnapis

导出文档扁平 PDF

Body {topicid(必填,定标注层), selectedPageNos(真实 PDF 页,省略=全书,空数组拒), includeRelatedBlankPages?=true}。留白页由 native 隐式带上,不计数、不入 selectedPageNos(拒绝 66000+ 虚拟页)。输出到外部导出根 DocumentExports。只建文件不改数据。若已有导出在跑 429 EXPORT_BUSY。

POST
/documents/{id}/export

Body {topicid(必填,定标注层), selectedPageNos(真实 PDF 页,省略=全书,空数组拒), includeRelatedBlankPages?=true}。留白页由 native 隐式带上,不计数、不入 selectedPageNos(拒绝 66000+ 虚拟页)。输出到外部导出根 DocumentExports。只建文件不改数据。若已有导出在跑 429 EXPORT_BUSY。

Authorization

bearerAuth
AuthorizationBearer <token>

安装脚本写入 ~/.config/mn-bridge/token,或环境变量 MN_BRIDGE_TOKEN。不要带 Origin 头。

In: header

Path Parameters

id*string

文档 bookmd5

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/documents/string/export" \  -H "Content-Type: application/json" \  -d '{    "topicid": "string"  }'
Empty