mnapis

删除评论

Body {expectedPrefix, confirm:true}。index 语义同改写。

POST
/notes/{id}/comments/{index}/delete

Body {expectedPrefix, confirm:true}。index 语义同改写。

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string

卡片 noteid

index*string

评论序号 1..N

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

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