cURL
curl --request POST \ --url http://localhost:5300/api/v1/plugins/install/marketplace \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data ' { "plugin_id": "kellz-dev/disaster-alert" } '
{ "code": 0, "data": { "task_id": 123 } }
从 LangBot Marketplace 安装插件。异步操作,返回任务 ID。
Marketplace 插件 ID(author/name 格式)
"kellz-dev/disaster-alert"
成功
0
Show child attributes