mnapis

删除学习集

最重写动词。Body {expectedTitle(须与库中完全一致), confirm:true, keepHighlights?=true, keepSnapshotHistory?=true}。默认隐藏卡片+保留划线+自动打快照(preDeleteSnapshotId)。彻底清才传 false(不可恢复)。卡组删除走同一端点(keepHighlights:false 才真删干净)。

POST
/study-sets/{id}/delete

最重写动词。Body {expectedTitle(须与库中完全一致), confirm:true, keepHighlights?=true, keepSnapshotHistory?=true}。默认隐藏卡片+保留划线+自动打快照(preDeleteSnapshotId)。彻底清才传 false(不可恢复)。卡组删除走同一端点(keepHighlights:false 才真删干净)。

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string

学习集 topicid(卡组删除走同一端点时为 deckId)

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

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