mnapis

打开学习集

Body {bookmd5?}。不给即主文档;文档须本机有文件(否则 422 DOCUMENT_FILE_MISSING)。可临时打开非本集KERSEY(tempOpen:true)。异步跳转,事后 GET /context 对账。不改数据,无需 confirm。

POST
/study-sets/{id}/open

Body {bookmd5?}。不给即主文档;文档须本机有文件(否则 422 DOCUMENT_FILE_MISSING)。可临时打开非本集KERSEY(tempOpen:true)。异步跳转,事后 GET /context 对账。不改数据,无需 confirm。

Authorization

bearerAuth
AuthorizationBearer <token>

安装脚本写入 ~/.config/mn-bridge/token,或环境变量 MN_BRIDGE_TOKEN。不要带 Origin 头。

In: header

Path Parameters

id*string

学习集 topicid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X POST "https://example.com/study-sets/string/open" \  -H "Content-Type: application/json" \  -d '{}'
Empty