mnapis

改卡片/摘录样式

Body {noteIds(≤200), patch:{colorIndex 0..15?, fillIndex -1..2?}, confirm:true}。选色前读 note-palette。整批一撤销组,独立 context 回读一致才 persisted:true。

POST
/notes/metadata

Body {noteIds(≤200), patch:{colorIndex 0..15?, fillIndex -1..2?}, confirm:true}。选色前读 note-palette。整批一撤销组,独立 context 回读一致才 persisted:true。

Authorization

bearerAuth
AuthorizationBearer <token>

安装脚本写入 ~/.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  }'
Empty