批量读卡
Body {noteIds:[…]} ≤200/次。返回 texts[](对象数组 {index,text,excerpt,noteid,kind},index 0=卡正文,1..N=子笔记;稀疏,空留白 kind:blank 也返回)、parts[](视觉顺序全量,含 contentPath/mimeType/ocrText;0.42 起图片遮挡项带 occlusion 与 occlusionBaseContentPath)、metadata{colorIndex,fillIndex}、hashtags/hashtagPaths。texts 为空先看 parts。
Body {noteIds:[…]} ≤200/次。返回 texts[](对象数组 {index,text,excerpt,noteid,kind},index 0=卡正文,1..N=子笔记;稀疏,空留白 kind:blank 也返回)、parts[](视觉顺序全量,含 contentPath/mimeType/ocrText;0.42 起图片遮挡项带 occlusion 与 occlusionBaseContentPath)、metadata{colorIndex,fillIndex}、hashtags/hashtagPaths。texts 为空先看 parts。
Authorization
bearerAuth 安装脚本写入 ~/.config/mn-bridge/token,或环境变量 MN_BRIDGE_TOKEN。不要带 Origin 头。
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://example.com/notes/batch-get" \ -H "Content-Type: application/json" \ -d '{ "noteIds": [ "string" ] }'整卡渲染 GET
?format=png|pdf &width=320–1200。标题+文字+摘录图+插图+独立脑图手写的合成长图/PDF。超 3600 万像素拒绝。用于看整卡/视觉校对,不代批量文本读取。代价最高,按需用。
复制卡片分支 POST
Body {noteIds,targetParentNoteId,mode:reference|clone,confirm:true} 或批量 copies[]。复制所选根整棵分支(快照,不随源树后续调整同步);祖先后代同选时后代 covered_by_selected_ancestor 跳过;≤50 根;目标须为已存在普通脑图卡;源不能是隐藏/复习卡。可跨集(源文档按规则加入目标集)。真 dry-run(422 + wouldCopy)。persisted:true 才成功。