更换父卡
await mn.api('/notes/move', {
method: 'POST',
body: {
noteIds: [noteidA, noteidB],
targetParentNoteId: parentNoteId,
confirm: true
}
});{
"moved": [
{
"noteid": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"targetParentNoteId": "B9F3696A-AF8A-43B2-A8A2-2791717F1695"
}
],
"skipped": [],
"topicid": "449C1665-E0DD-4A20-9E67-2B0D451F746D",
"bridgeApiVersion": "0.91"
}卡片与摘录
移动卡片
在学习集内部换父卡,不改内容、不删卡。单次合计上限为 50 张。
批量形态用 moves,一次提交多组。该接口的 confirm 排在业务校验之前,不带时只回
该错误码。
POST
/
notes
/
move
更换父卡
await mn.api('/notes/move', {
method: 'POST',
body: {
noteIds: [noteidA, noteidB],
targetParentNoteId: parentNoteId,
confirm: true
}
});{
"moved": [
{
"noteid": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"targetParentNoteId": "B9F3696A-AF8A-43B2-A8A2-2791717F1695"
}
],
"skipped": [],
"topicid": "449C1665-E0DD-4A20-9E67-2B0D451F746D",
"bridgeApiVersion": "0.91"
}请求体
application/json