cURL
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" } }
Creates a new plugin configuration.
Plugin created successfully
"Plugin created successfully"
Show child attributes
Was this page helpful?