折叠一张卡
await mn.api('/notes/fold', {
method: 'POST',
body: { noteIds: [noteid], folded: true, confirm: true }
});{
"changed": [
{
"noteid": "055E30EF-A59E-44AC-9459-997EEB5481A6",
"childCount": 1
}
],
"skipped": []
}卡片与摘录
折叠或展开脑图节点
只改脑图上的显示状态,不动内容。单次上限为 200 张卡。这是开销最小的写操作, 但仍然会在撤销栈上占一步。
POST
/
notes
/
fold
折叠一张卡
await mn.api('/notes/fold', {
method: 'POST',
body: { noteIds: [noteid], folded: true, confirm: true }
});{
"changed": [
{
"noteid": "055E30EF-A59E-44AC-9459-997EEB5481A6",
"childCount": 1
}
],
"skipped": []
}请求体
application/json