脑图打印预览计划
Body {mode:keepStructure|classic|cardFlow, densityValue?, rootNoteId?}。keepStructure 默认逐级打印;classic/densityValue=1 走旧兼容;cardFlow 密集卡片流。返回 schema mn.mindMapPrintPlan.v0,含 pageCountEstimate/pages[]/exportOptions/planFingerprint。分页以 native 为准,CLI 不自算。
Body {mode:keepStructure|classic|cardFlow, densityValue?, rootNoteId?}。keepStructure 默认逐级打印;classic/densityValue=1 走旧兼容;cardFlow 密集卡片流。返回 schema mn.mindMapPrintPlan.v0,含 pageCountEstimate/pages[]/exportOptions/planFingerprint。分页以 native 为准,CLI 不自算。
Authorization
bearerAuth 安装脚本写入 ~/.config/mn-bridge/token,或环境变量 MN_BRIDGE_TOKEN。不要带 Origin 头。
In: header
Path Parameters
学习集 topicid
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/study-sets/string/mindmap-print/preview" \ -H "Content-Type: application/json" \ -d '{ "mode": "keepStructure" }'按计划导出脑图 PDF POST
推荐 Body {plan:<preview 保存的计划>, fileName?}。复用 pages[]/visibleDepth/visibleNoteIds。输出到外部导出根 MindMapExports。只建文件不改数据,无需 confirm。与文档导出共享 EXPORT_BUSY(429)。
打开学习集 POST
Body {bookmd5?}。不给即主文档;文档须本机有文件(否则 422 DOCUMENT_FILE_MISSING)。可临时打开非本集KERSEY(tempOpen:true)。异步跳转,事后 GET /context 对账。不改数据,无需 confirm。