mnapis

脑图打印预览计划

Body {mode:keepStructure|classic|cardFlow, densityValue?, rootNoteId?}。keepStructure 默认逐级打印;classic/densityValue=1 走旧兼容;cardFlow 密集卡片流。返回 schema mn.mindMapPrintPlan.v0,含 pageCountEstimate/pages[]/exportOptions/planFingerprint。分页以 native 为准,CLI 不自算。

POST
/study-sets/{id}/mindmap-print/preview

Body {mode:keepStructure|classic|cardFlow, densityValue?, rootNoteId?}。keepStructure 默认逐级打印;classic/densityValue=1 走旧兼容;cardFlow 密集卡片流。返回 schema mn.mindMapPrintPlan.v0,含 pageCountEstimate/pages[]/exportOptions/planFingerprint。分页以 native 为准,CLI 不自算。

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string

学习集 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"  }'
Empty