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: Symbol not found for UUID, version: String): Response<Unit>

Disable a plugin.

Link copied to clipboard
suspend fun enablePlugin(pluginId: ERROR CLASS: Symbol not found for UUID, version: String): Response<Unit>

Enables a disabled plugin.

Link copied to clipboard
suspend fun getPluginConfiguration(pluginId: ERROR CLASS: Symbol not found for UUID): Response<ERROR CLASS: Symbol not found for BasePluginConfiguration>

Gets plugin configuration.

Link copied to clipboard
suspend fun getPluginImage(pluginId: ERROR CLASS: Symbol not found for UUID, version: String): Response<ByteArray>

Gets a plugin's image.

Link copied to clipboard
fun getPluginImageUrl(pluginId: ERROR CLASS: Symbol not found for UUID, version: String): String

Gets a plugin's image.

Link copied to clipboard
suspend fun getPluginManifest(pluginId: ERROR CLASS: Symbol not found for UUID): Response<Unit>

Gets a plugin's manifest.

Link copied to clipboard
suspend fun getPlugins(): Response<List<ERROR CLASS: Symbol not found for PluginInfo>>

Gets a list of currently installed plugins.

Link copied to clipboard
suspend fun uninstallPlugin(pluginId: ERROR CLASS: Symbol not found for UUID): Response<Unit>

Uninstalls a plugin.

Link copied to clipboard
suspend fun uninstallPluginByVersion(pluginId: ERROR CLASS: Symbol not found for UUID, version: String): Response<Unit>

Uninstalls a plugin by version.

Link copied to clipboard
suspend fun updatePluginConfiguration(pluginId: ERROR CLASS: Symbol not found for UUID): Response<Unit>

Accepts plugin configuration as JSON body.