mnapis

改正文

Body 同改标题。对 kind:blank 的 texts[].noteid 用同一端点。改正文前判摘录卡(texts[].excerpt 任一 true,或 sourceAnchor.hasExcerpt;勿用 sourceAnchor.page 判 block 包)。摘录卡改文致文字与原书脱钩(回源不受影响),须告知用户。

POST
/notes/{id}/text

Body 同改标题。对 kind:blank 的 texts[].noteid 用同一端点。改正文前判摘录卡(texts[].excerpt 任一 true,或 sourceAnchor.hasExcerpt;勿用 sourceAnchor.page 判 block 包)。摘录卡改文致文字与原书脱钩(回源不受影响),须告知用户。

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

id*string

卡片 noteid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

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