Function LibraryApiFactory
- LibraryApiFactory(configuration?, basePath?, axios?): {
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, options?): AxiosPromise<void>
Returns AxiosPromise<void>
deleteItems:function
- deleteItems(requestParameters?, options?): AxiosPromise<void>
Returns AxiosPromise<void>
getAncestors:function
getCriticReviews:function
getDownload:function
- getDownload(requestParameters, options?): AxiosPromise<File>
Returns AxiosPromise<File>
getFile:function
- getFile(requestParameters, options?): AxiosPromise<File>
Returns AxiosPromise<File>
getItemCounts:function
- getItemCounts(requestParameters?, options?): AxiosPromise<ItemCounts>
Returns AxiosPromise<ItemCounts>
getLibraryOptionsInfo:function
getMediaFolders:function
getPhysicalPaths:function
- getPhysicalPaths(options?): 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
- postAddedMovies(requestParameters?, options?): AxiosPromise<void>
Returns AxiosPromise<void>
postAddedSeries:function
- postAddedSeries(requestParameters?, options?): AxiosPromise<void>
Returns AxiosPromise<void>
postUpdatedMedia:function
- postUpdatedMedia(requestParameters, options?): AxiosPromise<void>
Returns AxiosPromise<void>
postUpdatedMovies:function
- postUpdatedMovies(requestParameters?, options?): AxiosPromise<void>
Returns AxiosPromise<void>
postUpdatedSeries:function
- postUpdatedSeries(requestParameters?, options?): AxiosPromise<void>
Returns AxiosPromise<void>
refreshLibrary:function
- refreshLibrary(options?): AxiosPromise<void>
Parameters
Optional
options: RawAxiosRequestConfig
Returns AxiosPromise<void>
LibraryApi - factory interface
Export