PluginConfiguration

PluginConfiguration - Create

To configure plugin

POST

https://api-server-host-name/configapi/{pool_UUID}/{logpoint_identifier}/PluginConfiguration/{plugin_name}

Parameters

Field
Type
Description

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

Field
Type
Description

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.

circle-exclamation

PUT

Parameters

Field
Type
Description

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

Field
Type
Description

id

String

Existing plugin configuration id

Success Response

PluginConfiguration - Install

Installs the given file inside a plugin.

circle-exclamation

POST

Parameters

Field
Type
Description

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

Field
Type
Description

data

Object

Plugin configuration in json format. Mandatory Field

Request Example

Success Response

PluginConfiguration - TestExisting

To test existing plugin configuration

POST

Parameters

Field
Type
Description

id

String

UUID of the respective Plugin. Mandatory Field

Request Example

Success Response

PluginConfiguration - TestNew

To test plugin configuration

POST

Parameters

Field
Type
Description

data

Object

Plugin configuration in json format. Mandatory Field

Request Example

Success Response

PluginConfiguration - Trash

Delete the plugin configuration with given ID

DELETE

Parameters

Field
Type
Description

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

Field
Type
Description

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

Field
Type
Description

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

Field
Description

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

Field
Type
Description

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

Field
Description

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

Field
Type
Description

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?