改写评论
Body {text, expectedPrefix(前 32 字), confirm:true}。index 取 batch-get texts[].index 的 1..N(0 为卡正文,传 0 422)。须先读最新,409 COMMENT_CHANGED 重读再来。
Body {text, expectedPrefix(前 32 字), confirm:true}。index 取 batch-get texts[].index 的 1..N(0 为卡正文,传 0 422)。须先读最新,409 COMMENT_CHANGED 重读再来。
Authorization
bearerAuth AuthorizationBearer <token>
安装脚本写入 ~/.config/mn-bridge/token,或环境变量 MN_BRIDGE_TOKEN。不要带 Origin 头。
In: header
Path Parameters
id*string
卡片 noteid
index*string
评论序号 1..N(0 为卡正文,传 0 会 422)
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" \ -H "Content-Type: application/json" \ -d '{ "text": "string", "confirm": true }'Empty