开始留白分层练习
const r = await mn.api('/writing/blank-begin', {
method: 'POST',
body: { requestId, questionId, carrier: 'blank', confirm: true }
});
if (r.error) mn.log(r.error.code);{
"schemaVersion": 1,
"bridgeApiVersion": "0.91",
"requestId": "9F8E7D6C-5B4A-4938-8271-6F5E4D3C2B1A",
"state": "pending",
"settled": false,
"outcome": "accepted",
"ready": false,
"canSwitch": false,
"scope": "current-window"
}手写会话
开始留白分层练习
在受控练习层里开始留白作答。调用前应先读取写作能力与当前窗口上下文。
POST
/
writing
/
blank-begin
开始留白分层练习
const r = await mn.api('/writing/blank-begin', {
method: 'POST',
body: { requestId, questionId, carrier: 'blank', confirm: true }
});
if (r.error) mn.log(r.error.code);{
"schemaVersion": 1,
"bridgeApiVersion": "0.91",
"requestId": "9F8E7D6C-5B4A-4938-8271-6F5E4D3C2B1A",
"state": "pending",
"settled": false,
"outcome": "accepted",
"ready": false,
"canSwitch": false,
"scope": "current-window"
}请求体
application/json
响应
转场结果。可能还有未列出的字段。
作答转场结果。看 settled、outcome、ready 与 canSwitch,不要只看 HTTP 状态码。