Skip to main content
POST
/
api
/
v1
/
plugins
/
install
/
github
从 GitHub 安装插件
curl --request POST \
  --url http://localhost:5300/api/v1/plugins/install/github \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "url": "https://github.com/rocksclawbot/langbot-community-plugins/tree/main/disaster-alert"
}
'
{
  "code": 0,
  "data": {
    "task_id": 123
  }
}

Authorizations

X-API-Key
string
header
required

Body

application/json
url
string
required

GitHub 仓库 URL

Example:

"https://github.com/rocksclawbot/langbot-community-plugins/tree/main/disaster-alert"

Response

200 - application/json

成功

code
integer
Example:

0

data
object