mnapis

新建空学习集

Body {title, confirm:true}。返回 {topicid, isStudySet},必须校验 isStudySet:true。空集含一张与集同名的根卡。

POST
/library/study-sets

Body {title, confirm:true}。返回 {topicid, isStudySet},必须校验 isStudySet:true。空集含一张与集同名的根卡。

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

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