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>
    • 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>

      Accepts plugin configuration as JSON body.