Skip to main content
POST
打开作答纸

路径参数

noteid
string
必填

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

请求体

application/json
expectedRevision
string
必填

版本号,用于校验改写。取自 GET /notes/{noteid}/comments 或 POST /notes/batch-get 响应里的 commentsRevision。

confirm
boolean
必填

必填。由 MarginNote 自动补上。

commentId
string

继续已有的一份作答纸。不传则新建一份。

practice
object

这道题所属的学习集。

advance
enum<string>

编辑器上的主按钮。传入即等同于代为按下。

可用选项:
next,
finish

响应

响应。可能还有未列出的字段。

persisted
boolean

打开编辑器但不改动数据时,该项为 false。

editorOpened
boolean
bridgeApiVersion
string
note
string
noteid
string
commentId
string

⚠️编辑器里打开的作答纸。未新建时可能为 null。

continued
boolean

⚠️

advance
string

⚠️是否代为按下主按钮。

practice
object

⚠️