查询题卡存储身份
const r = await mn.api('/writing/content', {
method: 'POST',
body: {
carrier: 'blank',
storageTopicId: topicid,
physicalBlankId: blankId
}
});
mn.log(r.ready, r.hasVisibleContent);{
"schemaVersion": 1,
"hasVisibleContent": null,
"layerSettings": {
"liveWindowVerified": false,
"registeredLayerIds": [],
"savedOverlayLayerId": "",
"savedActiveLayerId": "",
"bindTextImageToSketchLayer": false
},
"layerIds": null,
"inventoryState": "no-stored-records",
"bridgeApiVersion": "0.91",
"recordCounts": {},
"scope": {
"carrier": "focus",
"focusNoteId": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"storageTopicId": "449C1665-E0DD-4A20-9E67-2B0D451F746D"
},
"projectionFingerprint": "19a2274c021d9eb50eb0af8d7b0ad7c86a71065b9c8262a786778f3e19b7cb6c",
"hostRowCount": 0,
"readOnly": true,
"parts": [],
"warnings": [
"Inventory counts records, not strokes, visible ink, saved attempts or completed answers.",
"Layer IDs are stored associations, not current visibility; unbound text/images and legacy strokes may remain visible.",
"The projection fingerprint is diagnostic, not a content revision or compare-and-swap token.",
"Direct blank/card body is outside the layer inventory. Media is neither loaded nor downloaded."
],
"hostNoteIds": [],
"includesUnsavedCanvas": false,
"consistency": "persisted-snapshot",
"repairsPerformed": false
}手写会话
查询留白与焦点存储身份
只读诊断:读某张本地题卡的来源候选、本地合并留白与焦点存储身份。
留白与焦点互斥,不能写在同一份请求里。要限制层用 layerIds:不传查全部层,
传一个空串查默认层,传空数组或超过 32 个会被拒。
该接口不创建、不认领、不折叠,响应里没有未保存的画布,记录数也不等于笔划数。
POST
/
writing
/
content
查询题卡存储身份
const r = await mn.api('/writing/content', {
method: 'POST',
body: {
carrier: 'blank',
storageTopicId: topicid,
physicalBlankId: blankId
}
});
mn.log(r.ready, r.hasVisibleContent);{
"schemaVersion": 1,
"hasVisibleContent": null,
"layerSettings": {
"liveWindowVerified": false,
"registeredLayerIds": [],
"savedOverlayLayerId": "",
"savedActiveLayerId": "",
"bindTextImageToSketchLayer": false
},
"layerIds": null,
"inventoryState": "no-stored-records",
"bridgeApiVersion": "0.91",
"recordCounts": {},
"scope": {
"carrier": "focus",
"focusNoteId": "D3085422-2CB9-4B68-A78D-DEE351CF9C38",
"storageTopicId": "449C1665-E0DD-4A20-9E67-2B0D451F746D"
},
"projectionFingerprint": "19a2274c021d9eb50eb0af8d7b0ad7c86a71065b9c8262a786778f3e19b7cb6c",
"hostRowCount": 0,
"readOnly": true,
"parts": [],
"warnings": [
"Inventory counts records, not strokes, visible ink, saved attempts or completed answers.",
"Layer IDs are stored associations, not current visibility; unbound text/images and legacy strokes may remain visible.",
"The projection fingerprint is diagnostic, not a content revision or compare-and-swap token.",
"Direct blank/card body is outside the layer inventory. Media is neither loaded nor downloaded."
],
"hostNoteIds": [],
"includesUnsavedCanvas": false,
"consistency": "persisted-snapshot",
"repairsPerformed": false
}请求体
application/json
响应
200 - application/json
存储身份快照。内部字段没有依据,响应结构待补。
实测为 null。什么情况下返回非空,尚无依据。
Show child attributes
Show child attributes
实测为 null。什么情况下返回非空,尚无依据。
Show child attributes
Show child attributes
只供水印核对使用,不是存储版本,也不能作为改写的依据。
实测为空数组,条目结构没有依据。
实测为空数组,条目结构没有依据。
⚠️为 false 时不得视为可写的响应。