mnapis

折叠/展开

Body {noteIds(≤200), folded:true|false, confirm:true},整批一撤销组。最轻写动词,只改视图。叶子无折叠语义(skipped no_children)。脑图开着时可能需重进才见。

POST
/notes/fold

Body {noteIds(≤200), folded:true|false, confirm:true},整批一撤销组。最轻写动词,只改视图。叶子无折叠语义(skipped no_children)。脑图开着时可能需重进才见。

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/fold" \  -H "Content-Type: application/json" \  -d '{    "noteIds": [      "string"    ],    "folded": true,    "confirm": true  }'
Empty