plugins_controller = client.plugins
PluginsController
- Disable Plugin
- Enable Plugin
- Get Plugin Configuration
- Get Plugin Image
- Get Plugin Manifest
- Get Plugins
- Uninstall Plugin
- Uninstall Plugin by Version
- Update Plugin Configuration
Disable a plugin.
def disable_plugin(self,
plugin_id,
version)
Parameter | Type | Tags | Description |
---|---|---|---|
plugin_id |
uuid|string |
Template, Required | Plugin id. |
version |
string |
Template, Required | Plugin version. |
void
plugin_id = '00000c42-0000-0000-0000-000000000000'
version = 'version4'
result = plugins_controller.disable_plugin(plugin_id, version)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Plugin not found. | ProblemDetailsException |
Enables a disabled plugin.
def enable_plugin(self,
plugin_id,
version)
Parameter | Type | Tags | Description |
---|---|---|---|
plugin_id |
uuid|string |
Template, Required | Plugin id. |
version |
string |
Template, Required | Plugin version. |
void
plugin_id = '00000c42-0000-0000-0000-000000000000'
version = 'version4'
result = plugins_controller.enable_plugin(plugin_id, version)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Plugin not found. | ProblemDetailsException |
Gets plugin configuration.
def get_plugin_configuration(self,
plugin_id)
Parameter | Type | Tags | Description |
---|---|---|---|
plugin_id |
uuid|string |
Template, Required | Plugin id. |
object
plugin_id = '00000c42-0000-0000-0000-000000000000'
result = plugins_controller.get_plugin_configuration(plugin_id)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Plugin not found or plugin configuration not found. | ProblemDetailsException |
Gets a plugin's image.
def get_plugin_image(self,
plugin_id,
version)
Parameter | Type | Tags | Description |
---|---|---|---|
plugin_id |
uuid|string |
Template, Required | Plugin id. |
version |
string |
Template, Required | Plugin version. |
mixed
plugin_id = '00000c42-0000-0000-0000-000000000000'
version = 'version4'
result = plugins_controller.get_plugin_image(plugin_id, version)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Not Found | ProblemDetailsException |
Gets a plugin's manifest.
def get_plugin_manifest(self,
plugin_id)
Parameter | Type | Tags | Description |
---|---|---|---|
plugin_id |
uuid|string |
Template, Required | Plugin id. |
void
plugin_id = '00000c42-0000-0000-0000-000000000000'
result = plugins_controller.get_plugin_manifest(plugin_id)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Plugin not found. | ProblemDetailsException |
Gets a list of currently installed plugins.
def get_plugins(self)
result = plugins_controller.get_plugins()
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
This endpoint is deprecated.
Uninstalls a plugin.
def uninstall_plugin(self,
plugin_id)
Parameter | Type | Tags | Description |
---|---|---|---|
plugin_id |
uuid|string |
Template, Required | Plugin id. |
void
plugin_id = '00000c42-0000-0000-0000-000000000000'
result = plugins_controller.uninstall_plugin(plugin_id)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Plugin not found. | ProblemDetailsException |
Uninstalls a plugin by version.
def uninstall_plugin_by_version(self,
plugin_id,
version)
Parameter | Type | Tags | Description |
---|---|---|---|
plugin_id |
uuid|string |
Template, Required | Plugin id. |
version |
string |
Template, Required | Plugin version. |
void
plugin_id = '00000c42-0000-0000-0000-000000000000'
version = 'version4'
result = plugins_controller.uninstall_plugin_by_version(plugin_id, version)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Plugin not found. | ProblemDetailsException |
Accepts plugin configuration as JSON body.
def update_plugin_configuration(self,
plugin_id)
Parameter | Type | Tags | Description |
---|---|---|---|
plugin_id |
uuid|string |
Template, Required | Plugin id. |
void
plugin_id = '00000c42-0000-0000-0000-000000000000'
result = plugins_controller.update_plugin_configuration(plugin_id)
HTTP Status Code | Error Description | Exception Class |
---|---|---|
401 | Unauthorized | APIException |
403 | Forbidden | APIException |
404 | Plugin not found or plugin does not have configuration. | ProblemDetailsException |