Function LibraryApiFactory
- LibraryApiFactory(
configuration?: Configuration,
basePath?: string,
axios?: AxiosInstance,
): {
deleteItem(
requestParameters: LibraryApiDeleteItemRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
deleteItems(
requestParameters?: LibraryApiDeleteItemsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
getAncestors(
requestParameters: LibraryApiGetAncestorsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDto[]>;
getCriticReviews(
requestParameters: LibraryApiGetCriticReviewsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getDownload(
requestParameters: LibraryApiGetDownloadRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<File>;
getFile(
requestParameters: LibraryApiGetFileRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<File>;
getItemCounts(
requestParameters?: LibraryApiGetItemCountsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<ItemCounts>;
getLibraryOptionsInfo(
requestParameters?: LibraryApiGetLibraryOptionsInfoRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<LibraryOptionsResultDto>;
getMediaFolders(
requestParameters?: LibraryApiGetMediaFoldersRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getPhysicalPaths(options?: RawAxiosRequestConfig): AxiosPromise<string[]>;
getSimilarAlbums(
requestParameters: LibraryApiGetSimilarAlbumsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarArtists(
requestParameters: LibraryApiGetSimilarArtistsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarItems(
requestParameters: LibraryApiGetSimilarItemsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarMovies(
requestParameters: LibraryApiGetSimilarMoviesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarShows(
requestParameters: LibraryApiGetSimilarShowsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarTrailers(
requestParameters: LibraryApiGetSimilarTrailersRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getThemeMedia(
requestParameters: LibraryApiGetThemeMediaRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<AllThemeMediaResult>;
getThemeSongs(
requestParameters: LibraryApiGetThemeSongsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<ThemeMediaResult>;
getThemeVideos(
requestParameters: LibraryApiGetThemeVideosRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<ThemeMediaResult>;
postAddedMovies(
requestParameters?: LibraryApiPostAddedMoviesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
postAddedSeries(
requestParameters?: LibraryApiPostAddedSeriesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
postUpdatedMedia(
requestParameters: LibraryApiPostUpdatedMediaRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
postUpdatedMovies(
requestParameters?: LibraryApiPostUpdatedMoviesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
postUpdatedSeries(
requestParameters?: LibraryApiPostUpdatedSeriesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
refreshLibrary(options?: RawAxiosRequestConfig): AxiosPromise<void>;
} Parameters
Optional
configuration: ConfigurationOptional
basePath: stringOptional
axios: AxiosInstance
Returns {
deleteItem(
requestParameters: LibraryApiDeleteItemRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
deleteItems(
requestParameters?: LibraryApiDeleteItemsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
getAncestors(
requestParameters: LibraryApiGetAncestorsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDto[]>;
getCriticReviews(
requestParameters: LibraryApiGetCriticReviewsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getDownload(
requestParameters: LibraryApiGetDownloadRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<File>;
getFile(
requestParameters: LibraryApiGetFileRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<File>;
getItemCounts(
requestParameters?: LibraryApiGetItemCountsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<ItemCounts>;
getLibraryOptionsInfo(
requestParameters?: LibraryApiGetLibraryOptionsInfoRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<LibraryOptionsResultDto>;
getMediaFolders(
requestParameters?: LibraryApiGetMediaFoldersRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getPhysicalPaths(options?: RawAxiosRequestConfig): AxiosPromise<string[]>;
getSimilarAlbums(
requestParameters: LibraryApiGetSimilarAlbumsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarArtists(
requestParameters: LibraryApiGetSimilarArtistsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarItems(
requestParameters: LibraryApiGetSimilarItemsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarMovies(
requestParameters: LibraryApiGetSimilarMoviesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarShows(
requestParameters: LibraryApiGetSimilarShowsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getSimilarTrailers(
requestParameters: LibraryApiGetSimilarTrailersRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<BaseItemDtoQueryResult>;
getThemeMedia(
requestParameters: LibraryApiGetThemeMediaRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<AllThemeMediaResult>;
getThemeSongs(
requestParameters: LibraryApiGetThemeSongsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<ThemeMediaResult>;
getThemeVideos(
requestParameters: LibraryApiGetThemeVideosRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<ThemeMediaResult>;
postAddedMovies(
requestParameters?: LibraryApiPostAddedMoviesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
postAddedSeries(
requestParameters?: LibraryApiPostAddedSeriesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
postUpdatedMedia(
requestParameters: LibraryApiPostUpdatedMediaRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
postUpdatedMovies(
requestParameters?: LibraryApiPostUpdatedMoviesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
postUpdatedSeries(
requestParameters?: LibraryApiPostUpdatedSeriesRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void>;
refreshLibrary(options?: RawAxiosRequestConfig): AxiosPromise<void>;
}
deleteItem:function
- deleteItem(
requestParameters: LibraryApiDeleteItemRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void> Returns AxiosPromise<void>
deleteItems:function
- deleteItems(
requestParameters?: LibraryApiDeleteItemsRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<void> Returns AxiosPromise<void>
getAncestors:function
getCriticReviews:function
getDownload:function
- getDownload(
requestParameters: LibraryApiGetDownloadRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<File> Returns AxiosPromise<File>
getFile:function
- getFile(
requestParameters: LibraryApiGetFileRequest,
options?: RawAxiosRequestConfig,
): AxiosPromise<File> Returns AxiosPromise<File>
getItemCounts:function
getLibraryOptionsInfo:function
getMediaFolders:function
getPhysicalPaths:function
- getPhysicalPaths(options?: RawAxiosRequestConfig): AxiosPromise<string[]>
Parameters
Optional
options: RawAxiosRequestConfig
Returns AxiosPromise<string[]>
getSimilarAlbums:function
getSimilarArtists:function
getSimilarItems:function
getSimilarMovies:function
getSimilarShows:function
getSimilarTrailers:function
getThemeMedia:function
getThemeSongs:function
getThemeVideos:function
postAddedMovies:function
postAddedSeries:function
postUpdatedMedia:function
postUpdatedMovies:function
postUpdatedSeries:function
refreshLibrary:function
- refreshLibrary(options?: RawAxiosRequestConfig): AxiosPromise<void>
Parameters
Optional
options: RawAxiosRequestConfig
Returns AxiosPromise<void>
LibraryApi - factory interface
Export