定位卡片
await mn.api('/notes/' + noteid + '/focus', { method: 'POST', body: {} });{
"navigated": true,
"topicid": "449C1665-E0DD-4A20-9E67-2B0D451F746D",
"bridgeApiVersion": "0.91",
"next": "The jump is asynchronous — the screen may still be moving. Call GET /context in a moment if you need to confirm it landed.",
"via": "marginnote4app://note/D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"noteid": "D3085422-2CB9-4B68-A78D-DEE351CF9C38"
}{
"error": {
"code": "NOT_FOUND",
"message": "找不到目标对象。"
}
}卡片与摘录
定位卡片
把界面切到该卡,并连带切到该卡所属的学习集、卡组或文档。同一张卡被多个学习集引用时,
用 topicid 指定打开的学习集。
界面切换是异步发生的。该动作本身就是结果,没有需要等待的响应。
POST
/
notes
/
{noteid}
/
focus
定位卡片
await mn.api('/notes/' + noteid + '/focus', { method: 'POST', body: {} });{
"navigated": true,
"topicid": "449C1665-E0DD-4A20-9E67-2B0D451F746D",
"bridgeApiVersion": "0.91",
"next": "The jump is asynchronous — the screen may still be moving. Call GET /context in a moment if you need to confirm it landed.",
"via": "marginnote4app://note/D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"noteid": "D3085422-2CB9-4B68-A78D-DEE351CF9C38"
}{
"error": {
"code": "NOT_FOUND",
"message": "找不到目标对象。"
}
}