mnapis

折成子脑图 / 展回

Body {confirm:true} 折叠(须有子节点,否则 422 NO_CHILDREN);{undo:true, confirm:true} 展回。

POST
/notes/{id}/fold-into-sub-map

Body {confirm:true} 折叠(须有子节点,否则 422 NO_CHILDREN);{undo:true, confirm:true} 展回。

Authorization

bearerAuth
AuthorizationBearer <token>

安装脚本写入 ~/.config/mn-bridge/token,或环境变量 MN_BRIDGE_TOKEN。不要带 Origin 头。

In: header

Path Parameters

id*string

卡片 noteid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/notes/string/fold-into-sub-map" \  -H "Content-Type: application/json" \  -d '{    "confirm": true  }'
Empty