UserApi - functional programming interface

  • Parameters

    Returns {
        authenticateUserByName(
            authenticateUserByName: AuthenticateUserByName,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<AuthenticationResult>,
        >;
        authenticateWithQuickConnect(
            quickConnectDto: QuickConnectDto,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<AuthenticationResult>,
        >;
        createUserByName(
            createUserByName: CreateUserByName,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>,
        >;
        deleteUser(
            userId: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
        forgotPassword(
            forgotPasswordDto: ForgotPasswordDto,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<ForgotPasswordResult>,
        >;
        forgotPasswordPin(
            forgotPasswordPinDto: ForgotPasswordPinDto,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (
                axios?: AxiosInstance,
                basePath?: string,
            ) => AxiosPromise<PinRedeemResult>,
        >;
        getCurrentUser(
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>,
        >;
        getPublicUsers(
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto[]>,
        >;
        getUserById(
            userId: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto>,
        >;
        getUsers(
            isHidden?: boolean,
            isDisabled?: boolean,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto[]>,
        >;
        updateUser(
            userDto: UserDto,
            userId?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
        updateUserConfiguration(
            userConfiguration: UserConfiguration,
            userId?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
        updateUserPassword(
            updateUserPassword: UpdateUserPassword,
            userId?: string,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
        updateUserPolicy(
            userId: string,
            userPolicy: UserPolicy,
            options?: RawAxiosRequestConfig,
        ): Promise<
            (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>,
        >;
    }

    • authenticateUserByName:function
      • Parameters

        • authenticateUserByName: AuthenticateUserByName

          The M:Jellyfin.Api.Controllers.UserController.AuthenticateUserByName(Jellyfin.Api.Models.UserDtos.AuthenticateUserByName) request.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • authenticateWithQuickConnect:function
      • Parameters

        • quickConnectDto: QuickConnectDto

          The Jellyfin.Api.Models.UserDtos.QuickConnectDto request.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • createUserByName:function
      • Parameters

        • createUserByName: CreateUserByName

          The create user by name request body.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • deleteUser:function
      • Parameters

        • userId: string

          The user id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • forgotPassword:function
      • Parameters

        • forgotPasswordDto: ForgotPasswordDto

          The forgot password request containing the entered username.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • forgotPasswordPin:function
      • Parameters

        • forgotPasswordPinDto: ForgotPasswordPinDto

          The forgot password pin request containing the entered pin.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • getCurrentUser:function
      • Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • getPublicUsers:function
      • Parameters

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto[]>>

    • getUserById:function
      • Parameters

        • userId: string

          The user id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • getUsers:function
      • Parameters

        • OptionalisHidden: boolean

          Optional filter by IsHidden=true or false.

        • OptionalisDisabled: boolean

          Optional filter by IsDisabled=true or false.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

        Returns Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserDto[]>>

    • updateUser:function
      • Parameters

        • userDto: UserDto

          The updated user model.

        • OptionaluserId: string

          The user id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • updateUserConfiguration:function
      • Parameters

        • userConfiguration: UserConfiguration

          The new user configuration.

        • OptionaluserId: string

          The user id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • updateUserPassword:function
      • Parameters

        • updateUserPassword: UpdateUserPassword

          The M:Jellyfin.Api.Controllers.UserController.UpdateUserPassword(System.Nullable{System.Guid},Jellyfin.Api.Models.UserDtos.UpdateUserPassword) request.

        • OptionaluserId: string

          The user id.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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

    • updateUserPolicy:function
      • Parameters

        • userId: string

          The user id.

        • userPolicy: UserPolicy

          The new user policy.

        • Optionaloptions: RawAxiosRequestConfig

          Override http request option.

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