改卡片/摘录样式
Body {noteIds(≤200), patch:{colorIndex 0..15?, fillIndex -1..2?}, confirm:true}。选色前读 note-palette。整批一撤销组,独立 context 回读一致才 persisted:true。
Body {noteIds(≤200), patch:{colorIndex 0..15?, fillIndex -1..2?}, confirm:true}。选色前读 note-palette。整批一撤销组,独立 context 回读一致才 persisted:true。
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/metadata" \ -H "Content-Type: application/json" \ -d '{ "noteIds": [ "string" ], "patch": {}, "confirm": true }'改标题 POST
Body {text, expectedPrefix(当前值前 32 字,为空传 ""), confirm:true, markdown?}。改写/删除前展示原文→改后获同意;编辑会话前打快照。exam-general×block 下答案卡标题可能被归一,submit 后对 receipt,须保留的用此接口补回(不受归一限制)。
移动卡片 POST
Body {noteIds:[…], targetParentNoteId} 或批量 {moves:[{noteIds,targetParentNoteId}], confirm:true},合计 ≤50/次,整批一撤销组。同集改父子,不调兄弟顺序/坐标(Bridge 无此能力)。调用前展示逐卡方案获同意。