LangBot Docs
Plugins

Upgrade a plugin

Upgrade a plugin to the latest version asynchronously and return the task ID.

POST
/api/v1/plugins/{author}/{plugin_name}/upgrade

Upgrade a plugin to the latest version asynchronously and return the task ID.

Authorization

X-API-Key<token>

In: header

Path Parameters

author*string
plugin_name*string

Response Body

application/json

curl -X POST "https://example.com/api/v1/plugins/string/string/upgrade"
{  "code": 0,  "data": {    "task_id": 0  }}