mnapis

脑图树

返回扁平 nodes[]({noteid,parent,depth,childCount,…}),父子靠 parent 拼,非嵌套 children。subMapId 为归属标签(住在哪张子脑图里)。title 超 64 截断;完整内容走 batch-get。?root= 读单张子脑图。

GET
/study-sets/{id}/tree

返回扁平 nodes[]({noteid,parent,depth,childCount,…}),父子靠 parent 拼,非嵌套 children。subMapId 为归属标签(住在哪张子脑图里)。title 超 64 截断;完整内容走 batch-get。?root= 读单张子脑图。

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string

学习集 topicid

Query Parameters

root?string

子脑图根卡 noteid,只读该张子脑图

Response Body

curl -X GET "https://example.com/study-sets/string/tree"
Empty