mnapis

移动卡片

Body {noteIds:[…], targetParentNoteId} 或批量 {moves:[{noteIds,targetParentNoteId}], confirm:true},合计 ≤50/次,整批一撤销组。同集改父子,不调兄弟顺序/坐标(Bridge 无此能力)。调用前展示逐卡方案获同意。

POST
/notes/move

Body {noteIds:[…], targetParentNoteId} 或批量 {moves:[{noteIds,targetParentNoteId}], confirm:true},合计 ≤50/次,整批一撤销组。同集改父子,不调兄弟顺序/坐标(Bridge 无此能力)。调用前展示逐卡方案获同意。

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/move" \  -H "Content-Type: application/json" \  -d '{    "confirm": true  }'
Empty