mnapis

安装码相关

安装辅助路由,无 confirm 门,不轮换 token、不写 Skill 文件。具体语义以运行时 GET /guide 为准;刷新规程只读 GET /guide。

POST
/install/code

安装辅助路由,无 confirm 门,不轮换 token、不写 Skill 文件。具体语义以运行时 GET /guide 为准;刷新规程只读 GET /guide。

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

安装辅助路由,具体语义以运行时 GET /guide 为准;不轮换 token。

Response Body

curl -X POST "https://example.com/install/code" \  -H "Content-Type: application/json" \  -d '{}'
Empty