Skip to main content
POST
从上下文获取目标再提交

请求体

application/json
requestId
string
必填

同 pencil-commit,用 UUID。

writer
enum<string>
必填

连续阅读或翻页。该项不替调用方切换阅读与手写模式。

可用选项:
continuous,
paged
target
object
必填

从 POST /writing/context 返回的 state.visiblePages[].continuousCommitTarget 或 pagedCommitTarget 原样返回。取到 null 表示这条路径当前不可用。

confirm
boolean
必填

必填。由 MarginNote 自动补上。

windowId
string
expectedTopicId
string
surfaceId
string

必须是本窗口的文档面。

响应

实测响应。

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