开始焦点卡分层练习
const r = await mn.api('/writing/focus-begin', {
method: 'POST',
body: { requestId, questionId, carrier: 'focus', 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
/
focus-begin
开始焦点卡分层练习
const r = await mn.api('/writing/focus-begin', {
method: 'POST',
body: { requestId, questionId, carrier: 'focus', 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 状态码。