mnapis

追加评论

Body {text, confirm:true}。整条为 marginnote4app://note/… URL 时成真双链(生成式整理回链旧卡用此)。

POST
/notes/{id}/comments

Body {text, confirm:true}。整条为 marginnote4app://note/… URL 时成真双链(生成式整理回链旧卡用此)。

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/comments" \  -H "Content-Type: application/json" \  -d '{    "text": "string",    "confirm": true  }'
Empty