解析一道题
const r = await mn.api('/writing/resolve', {
method: 'POST',
body: { topicid, questionId: noteid }
});
mn.log(r);{
"schemaVersion": 1,
"ready": false,
"blanks": [],
"contentOwnerNoteId": "48FECCDA-BA29-477F-9B9D-B5B44D5FB051",
"sourceChoiceRequired": false,
"bridgeApiVersion": "0.91",
"topicid": "449C1665-E0DD-4A20-9E67-2B0D451F746D",
"sourceCandidates": [
{
"bookmd5": "ec280b8dbd77594d16b090165fdd4c07ec280b8dbd77594d16b090165fdd4c07",
"physicalNoteId": "48FECCDA-BA29-477F-9B9D-B5B44D5FB051",
"startPage": 1,
"localNoteId": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"endPage": 1,
"physicalTopicId": "B1F2A354-125A-4384-A271-C0B829AB9E09"
}
],
"questionId": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"readOnly": true,
"focus": {
"storageTopicId": "449C1665-E0DD-4A20-9E67-2B0D451F746D",
"contentOwnerIsNotWritingOwner": true,
"layerSettings": {
"liveWindowVerified": false,
"registeredLayerIds": [],
"savedOverlayLayerId": "",
"savedActiveLayerId": "",
"bindTextImageToSketchLayer": false
},
"focusNoteId": "D3085422-2CB9-4B68-A78D-DEE351CF9C38"
},
"warnings": [
"No source or blank is automatically selected, created or claimed.",
"Blank physicalTopicId is not proof of the live document notebook; content requires an explicit storageTopicId.",
"Reference-card inherited links not materialized in this local card are not treated as locally managed blanks."
],
"includesUnsavedCanvas": false,
"consistency": "persisted-snapshot",
"mergedLinksScope": "local-materialized-links-only"
}手写会话
解析题卡来源
只读诊断:传入一道题,返回该题的来源候选、本地合并留白与焦点存储身份。 同样不创建、不认领、不折叠。
POST
/
writing
/
resolve
解析一道题
const r = await mn.api('/writing/resolve', {
method: 'POST',
body: { topicid, questionId: noteid }
});
mn.log(r);{
"schemaVersion": 1,
"ready": false,
"blanks": [],
"contentOwnerNoteId": "48FECCDA-BA29-477F-9B9D-B5B44D5FB051",
"sourceChoiceRequired": false,
"bridgeApiVersion": "0.91",
"topicid": "449C1665-E0DD-4A20-9E67-2B0D451F746D",
"sourceCandidates": [
{
"bookmd5": "ec280b8dbd77594d16b090165fdd4c07ec280b8dbd77594d16b090165fdd4c07",
"physicalNoteId": "48FECCDA-BA29-477F-9B9D-B5B44D5FB051",
"startPage": 1,
"localNoteId": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"endPage": 1,
"physicalTopicId": "B1F2A354-125A-4384-A271-C0B829AB9E09"
}
],
"questionId": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"readOnly": true,
"focus": {
"storageTopicId": "449C1665-E0DD-4A20-9E67-2B0D451F746D",
"contentOwnerIsNotWritingOwner": true,
"layerSettings": {
"liveWindowVerified": false,
"registeredLayerIds": [],
"savedOverlayLayerId": "",
"savedActiveLayerId": "",
"bindTextImageToSketchLayer": false
},
"focusNoteId": "D3085422-2CB9-4B68-A78D-DEE351CF9C38"
},
"warnings": [
"No source or blank is automatically selected, created or claimed.",
"Blank physicalTopicId is not proof of the live document notebook; content requires an explicit storageTopicId.",
"Reference-card inherited links not materialized in this local card are not treated as locally managed blanks."
],
"includesUnsavedCanvas": false,
"consistency": "persisted-snapshot",
"mergedLinksScope": "local-materialized-links-only"
}响应
200 - application/json
来源候选与存储身份。完整字段没有依据。
实测为空数组,条目结构没有依据。
Show child attributes
Show child attributes
Show child attributes
Show child attributes