LibraryApi - object-oriented interface

LibraryApi

Hierarchy

  • BaseAPI
    • LibraryApi

Constructors

Properties

axios: AxiosInstance = globalAxios
basePath: string = BASE_PATH
configuration: undefined | Configuration

Methods

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Deletes an item from the library and filesystem.

    LibraryApi

  • Parameters

    • requestParameters: LibraryApiDeleteItemsRequest = {}

      Request parameters.

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    Deletes items from the library and filesystem.

    LibraryApi

  • Parameters

    Returns Promise<AxiosResponse<File, any>>

    Downloads item media.

    LibraryApi

  • Parameters

    • requestParameters: LibraryApiGetFileRequest

      Request parameters.

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<File, any>>

    Get the original file of an item.

    LibraryApi

  • Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<string[], any>>

    Gets a list of physical paths from virtual folders.

    LibraryApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Reports that new movies have been added by an external source.

    LibraryApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Reports that new episodes of a series have been added by an external source.

    LibraryApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Reports that new movies have been added by an external source.

    LibraryApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Reports that new movies have been added by an external source.

    LibraryApi

  • Parameters

    Returns Promise<AxiosResponse<void, any>>

    Reports that new episodes of a series have been added by an external source.

    LibraryApi

  • Parameters

    • Optionaloptions: RawAxiosRequestConfig

      Override http request option.

    Returns Promise<AxiosResponse<void, any>>

    Starts a library scan.

    LibraryApi