插件
从 GitHub 安装插件
从 GitHub 仓库安装插件。异步操作,返回任务 ID。
从 GitHub 仓库安装插件。异步操作,返回任务 ID。
X-API-Key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/plugins/install/github" \ -H "Content-Type: application/json" \ -d '{ "url": "https://github.com/rocksclawbot/langbot-community-plugins/tree/main/disaster-alert" }'{ "code": 0, "data": { "task_id": 0 }}