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

Body

application/json
name
string
enabled
boolean
config
object

Response

201 - application/json

Plugin created successfully

message
string
Example:

"Plugin created successfully"

plugin
object