PluginsApi

class PluginsApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun disablePlugin(pluginId: <Error class: unknown class>, version: String): Response<Unit>

Disable a plugin.

Link copied to clipboard
suspend fun enablePlugin(pluginId: <Error class: unknown class>, version: String): Response<Unit>

Enables a disabled plugin.

Link copied to clipboard
suspend fun getPluginConfiguration(pluginId: <Error class: unknown class>): Response<<Error class: unknown class>>

Gets plugin configuration.

Link copied to clipboard
suspend fun getPluginImage(pluginId: <Error class: unknown class>, version: String): Response<<Error class: unknown class>>

Gets a plugin's image.

Link copied to clipboard
fun getPluginImageUrl(pluginId: <Error class: unknown class>, version: String): String

Gets a plugin's image.

Link copied to clipboard
suspend fun getPluginManifest(pluginId: <Error class: unknown class>): Response<Unit>

Gets a plugin's manifest.

Link copied to clipboard
suspend fun getPlugins(): Response<List<<Error class: unknown class>>>

Gets a list of currently installed plugins.

Link copied to clipboard
suspend fun uninstallPlugin(pluginId: <Error class: unknown class>): Response<Unit>

Uninstalls a plugin.

Link copied to clipboard
suspend fun uninstallPluginByVersion(pluginId: <Error class: unknown class>, version: String): Response<Unit>

Uninstalls a plugin by version.

Link copied to clipboard
suspend fun updatePluginConfiguration(pluginId: <Error class: unknown class>): Response<Unit>

Accepts plugin configuration as JSON body.