Skip to main content
POST
删除一条批注

路径参数

noteid
string
必填

卡片的 noteid。取自卡片命令响应的 noteid、POST /notes/batch-get 响应里 items[].noteid,或 GET /ui-state 的 state.focusnoteid。

index
integer
必填

批注序号,从 1 起。序号 0 是卡片自身正文,指向该序号的请求返回 422。

必填范围: x >= 1

请求体

application/json
expectedPrefix
string
必填

该条批注当前内容的前 32 个字。内容已变时返回 409 COMMENT_CHANGED。

confirm
boolean
必填

必填。由 MarginNote 自动补上。

响应

响应结构没有依据。

index
integer
noteid
string
bridgeApiVersion
string
remainingComments
integer
action
string