PluginsApi - axios parameter creator

  • Parameters

    Returns {
        disablePlugin: ((pluginId: string, version: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        enablePlugin: ((pluginId: string, version: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getPluginConfiguration: ((pluginId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getPluginImage: ((pluginId: string, version: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getPluginManifest: ((pluginId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        getPlugins: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        uninstallPlugin: ((pluginId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        uninstallPluginByVersion: ((pluginId: string, version: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
        updatePluginConfiguration: ((pluginId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>);
    }

    • disablePlugin: ((pluginId: string, version: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Disable a plugin.

        • (pluginId, version, options?): Promise<RequestArgs>
        • Parameters

          • pluginId: string

            Plugin id.

          • version: string

            Plugin version.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • enablePlugin: ((pluginId: string, version: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Enables a disabled plugin.

        • (pluginId, version, options?): Promise<RequestArgs>
        • Parameters

          • pluginId: string

            Plugin id.

          • version: string

            Plugin version.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getPluginConfiguration: ((pluginId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Gets plugin configuration.

        • (pluginId, options?): Promise<RequestArgs>
        • Parameters

          • pluginId: string

            Plugin id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getPluginImage: ((pluginId: string, version: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Gets a plugin's image.

        • (pluginId, version, options?): Promise<RequestArgs>
        • Parameters

          • pluginId: string

            Plugin id.

          • version: string

            Plugin version.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getPluginManifest: ((pluginId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Gets a plugin's manifest.

        • (pluginId, options?): Promise<RequestArgs>
        • Parameters

          • pluginId: string

            Plugin id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • getPlugins: ((options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Gets a list of currently installed plugins.

        • (options?): Promise<RequestArgs>
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • uninstallPlugin: ((pluginId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Uninstalls a plugin.

        • (pluginId, options?): Promise<RequestArgs>
        • Parameters

          • pluginId: string

            Plugin id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • uninstallPluginByVersion: ((pluginId: string, version: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Uninstalls a plugin by version.

        • (pluginId, version, options?): Promise<RequestArgs>
        • Parameters

          • pluginId: string

            Plugin id.

          • version: string

            Plugin version.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>

    • updatePluginConfiguration: ((pluginId: string, options??: RawAxiosRequestConfig) => Promise<RequestArgs>)

      Accepts plugin configuration as JSON body.

      Updates plugin configuration.

        • (pluginId, options?): Promise<RequestArgs>
        • Parameters

          • pluginId: string

            Plugin id.

          • Optionaloptions: RawAxiosRequestConfig = {}

            Override http request option.

          Returns Promise<RequestArgs>