Skip to main content
POST
提交后再到结果接口查询

请求体

application/json
requestId
string
必填

本次操作的标识,用 UUID。相同的标识配相同的请求只返回原结果,不会重做一次;不同的目标共用同一个标识返回冲突。

target
object
必填

存储身份,要与当前焦点一致。

confirm
boolean
必填

必填。由 MarginNote 自动补上。

windowId
string
expectedTopicId
string
surfaceId
string

要保存的画布。取自 POST /writing/context 响应里 surfaces[].surfaceId。

响应

实测响应。

schemaVersion
integer
state
string
currentness
string
ready
boolean
surfaceId
string
bridgeApiVersion
string
inputGate
object
topicid
string
scope
string
requestId
string
windowId
string
receipt
any

实测为 null。什么情况下返回非空,尚无依据。

canSwitch
boolean
target
object
inputFrozen
boolean
includesNonPencilEditors
boolean
durability
string