新建复习卡组
Body {title, confirm:true}。返回 {deckId, isDeck},须校验 isDeck:true。
Body {title, confirm:true}。返回 {deckId, isDeck},须校验 isDeck: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/decks" \ -H "Content-Type: application/json" \ -d '{ "title": "string", "confirm": true }'Empty