Skip to main content
POST
/
api
/
plugins
Create a new plugin
curl --request POST \
  --url http://localhost:8080/api/plugins \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "enabled": true,
  "config": {},
  "path": "<string>"
}
'
{
  "message": "<string>",
  "plugin": {
    "id": 123,
    "name": "<string>",
    "enabled": true,
    "config": {},
    "isCustom": true,
    "path": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "version": 123,
    "updated_at": "2023-11-07T05:31:56Z",
    "config_hash": "<string>"
  }
}

Body

application/json

Create plugin request

name
string
required
enabled
boolean
config
object
path
string

Response

Plugin created successfully

Plugin operation response

message
string
plugin
object

Plugin configuration