PluginConfiguration
PluginConfiguration - Create
To configure plugin
POST
https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/PluginConfiguration/{plugin_name}Parameters
data
Object
Plugin configuration in json format. Mandatory Field
Request Example
{
"data": {
"frequency": 5,
"query": "device_name=localhost",
"repo": "_logpoint"
}
}Success Response
{
"status": "Success",
"message": "/monitorapi/v1/{pool_UUID}/{logpoint_identifier}/orders/{request_id}"
}PluginConfiguration - Edit
To update plugin configuration
PUT
Parameters
data
Object
Plugin configuration in json format. Mandatory Field
id
String
Existing plugin configuration id. Mandatory Field
Request Example
Success Response
PluginConfiguration - EditInstall
Edit the install of the given file inside a plugin.
DEPRECATED — Use PluginConfiguration Edit API instead. Will be removed in a future version.
PUT
Parameters
file_location
String
Location of the file to install. can be either 'private' or 'public'. Mandatory Field
id
String
Unique id. Mandatory Field
Request Example
Success Response
PluginConfiguration - Get
Get a plugin configuration by id
GET
Parameters
id
String
Existing plugin configuration id
Success Response
PluginConfiguration - Install
Installs the given file inside a plugin.
DEPRECATED — Use PluginConfiguration Create API instead. Will be removed in a future version.
POST
Parameters
file_location
String
Location of the file to install. can be either 'private' or 'public'. Mandatory Field
Request Example
Success Response
PluginConfiguration - List
Get plugin configurations
GET
Success Response
PluginConfiguration - ListPlugins
List all the pluggable plugins installed in the given logpoint
GET
Success Response
PluginConfiguration - ListPrivateUploads
List all files in private storage for a plugin
GET
Success Response
ListPublicUploads
List all files in public storage for a plugin
GET
Success Response
PluginConfiguration - RefreshList
To sync plugin configuration collections
POST
Parameters
data
Object
Plugin configuration in json format. Mandatory Field
Request Example
Success Response
PluginConfiguration - TestExisting
To test existing plugin configuration
POST
Parameters
id
String
UUID of the respective Plugin. Mandatory Field
Request Example
Success Response
PluginConfiguration - TestNew
To test plugin configuration
POST
Parameters
data
Object
Plugin configuration in json format. Mandatory Field
Request Example
Success Response
PluginConfiguration - Trash
Delete the plugin configuration with given ID
DELETE
Parameters
action
String
Query string indicating special action for a plugin. Optional Field
id
String
Existing plugin configuration id. Mandatory Field
Success Response
PluginConfiguration - TrashPrivateUploads
Delete the file with given name from private storage for a plugin
DELETE
Parameters
file_name
String
File to be deleted. Mandatory Field
Success Response
PluginConfiguration - TrashPublicUploads
Delete the file with given name from public storage for a plugin
DELETE
Parameters
file_name
String
File to be deleted. Mandatory Field
Success Response
PluginConfiguration - Upload
Upload plugin specific files to private storage. Validation of maximum number of files and maximum size of each file done.
POST
Headers
Content-Type
multipart/form-data
replace_existing
Set to 'true' to replace the existing file with the same name with the new file. Default is 'false'. Value can be 'true' or 'false'. Optional field
Parameters
file_name
[Object]
File to be uploaded. There can be multiple instances of this parameter as per the plugin need. If same key is used multiple times in the same request, only a single key/value pair will be used. Mandatory Field
Success Response
PluginConfiguration - UploadPublic
Upload plugin specific files to public storage. Validation of maximum number of files and maximum size of each file done.
POST
Headers
Content-Type
multipart/form-data
replace_existing
Set to 'true' to replace the existing file with the same name with the new file. Default is 'false'. Value can be 'true' or 'false'. Optional field
Parameters
file_name
[Object]
File to be uploaded. There can be multiple instances of this parameter as per the plugin need. If same key is used multiple times in the same request, only a single key/value pair will be used. Mandatory Field
Success Response
Last updated
Was this helpful?