列包文件 / 取单文件
?path= 取单个原始内容(curl -o 落盘)。跨设备读包靠它。
?path= 取单个原始内容(curl -o 落盘)。跨设备读包靠它。
Authorization
bearerAuth AuthorizationBearer <token>
安装脚本写入 ~/.config/mn-bridge/token,或环境变量 MN_BRIDGE_TOKEN。不要带 Origin 头。
In: header
Path Parameters
id*string
任务包 bundleId
Query Parameters
path?string
包内文件路径,如 source.json;不传列文件清单
Response Body
curl -X GET "https://example.com/bundles/string/files"Empty
新建复习卡组 POST
Body {title, confirm:true}。返回 {deckId, isDeck},须校验 isDeck:true。
列任务包/作业 GET
?origin=bridge(只看自建) &since=(磁盘包按目录创建时间,作业按开始时间)。字段 bundleId/jobId/bundlePath/topicid/bookmd5/createdAt/state(preparing|prepared|imported|failed|cancelled)+progress/version/rootNoteId/running。state 缺字段按缺席处理。jobId 非 null 不等于本会话活作业。