@jellyfin/sdk
    Preparing search index...

    Function ConfigurationApiFp

    • ConfigurationApi - functional programming interface

      Parameters

      Returns {
          getConfiguration(
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ServerConfiguration>,
          >;
          getDefaultMetadataOptions(
              options?: RawAxiosRequestConfig,
          ): Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<MetadataOptions>,
          >;
          getNamedConfiguration(
              key: string,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>,
          >;
          updateConfiguration(
              serverConfiguration: ServerConfiguration,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
          >;
          updateNamedConfiguration(
              key: string,
              body: any,
              options?: RawAxiosRequestConfig,
          ): Promise<
              (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
          >;
      }

      • getConfiguration: function
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<ServerConfiguration>,
          >

      • getDefaultMetadataOptions: function
        • Parameters

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<
              (
                  axios?: AxiosInstance,
                  basePath?: string,
              ) => AxiosPromise<MetadataOptions>,
          >

      • getNamedConfiguration: function
        • Parameters

          • key: string

            Configuration key.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>

      • updateConfiguration: function
        • Parameters

          • serverConfiguration: ServerConfiguration

            Configuration.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>

      • updateNamedConfiguration: function
        • Parameters

          • key: string

            Configuration key.

          • body: any

            Configuration.

          • Optionaloptions: RawAxiosRequestConfig

            Override http request option.

          Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>