获取留白带
const r = await mn.api('/notes/' + noteid + '/blank-bands');
mn.log(r.bands.filter(b => b.hasInk).length);{
"bands": [
{
"noteid": "7102EB63-0F6B-48C8-917E-5B0F9D5E047C",
"role": "practice",
"seq": 1,
"closed": false,
"height": 320,
"pageNo": 12,
"hasInk": true,
"inkParts": 2,
"live": true
}
]
}卡片与摘录
列出卡片留白带
按追加顺序返回该卡下面的留白带,每一项返回该条带在文档里的位置、是否折叠、高度、 是否带笔迹,以及是否正在使用。
GET
/
notes
/
{noteid}
/
blank-bands
获取留白带
const r = await mn.api('/notes/' + noteid + '/blank-bands');
mn.log(r.bands.filter(b => b.hasInk).length);{
"bands": [
{
"noteid": "7102EB63-0F6B-48C8-917E-5B0F9D5E047C",
"role": "practice",
"seq": 1,
"closed": false,
"height": 320,
"pageNo": 12,
"hasInk": true,
"inkParts": 2,
"live": true
}
]
}