删除一条批注
await mn.api('/notes/' + noteid + '/comments/2/delete', {
method: 'POST',
body: { expectedPrefix: '工整的推导过程', confirm: true }
});{
"index": 3,
"noteid": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"bridgeApiVersion": "0.91",
"remainingComments": 2,
"action": "delete"
}卡片与摘录
删除批注
删除第 index 条批注。序号从 1 起。expectedPrefix 是该条批注当前内容的前 32 个字,
读完到写之间内容已变则返回 409 COMMENT_CHANGED。
POST
/
notes
/
{noteid}
/
comments
/
{index}
/
delete
删除一条批注
await mn.api('/notes/' + noteid + '/comments/2/delete', {
method: 'POST',
body: { expectedPrefix: '工整的推导过程', confirm: true }
});{
"index": 3,
"noteid": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"bridgeApiVersion": "0.91",
"remainingComments": 2,
"action": "delete"
}路径参数
请求体
application/json