- PlaylistsApiFp(configuration?): {
addItemToPlaylist(playlistId: string, ids?: string[], userId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
createPlaylist(name?: string, ids?: string[], userId?: string, mediaType?: MediaType, createPlaylistDto?: CreatePlaylistDto, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistCreationResult>)>;
getPlaylist(playlistId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistDto>)>;
getPlaylistItems(playlistId: string, userId?: string, startIndex?: number, limit?: number, fields?: ItemFields[], enableImages?: boolean, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: ImageType[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getPlaylistUser(playlistId: string, userId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistUserPermissions>)>;
getPlaylistUsers(playlistId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistUserPermissions[]>)>;
moveItem(playlistId: string, itemId: string, newIndex: number, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
removeItemFromPlaylist(playlistId: string, entryIds?: string[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
removeUserFromPlaylist(playlistId: string, userId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
updatePlaylist(playlistId: string, updatePlaylistDto: UpdatePlaylistDto, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
updatePlaylistUser(playlistId: string, userId: string, updatePlaylistUserDto: UpdatePlaylistUserDto, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
} Returns {
addItemToPlaylist(playlistId: string, ids?: string[], userId?: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
createPlaylist(name?: string, ids?: string[], userId?: string, mediaType?: MediaType, createPlaylistDto?: CreatePlaylistDto, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistCreationResult>)>;
getPlaylist(playlistId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistDto>)>;
getPlaylistItems(playlistId: string, userId?: string, startIndex?: number, limit?: number, fields?: ItemFields[], enableImages?: boolean, enableUserData?: boolean, imageTypeLimit?: number, enableImageTypes?: ImageType[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>;
getPlaylistUser(playlistId: string, userId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistUserPermissions>)>;
getPlaylistUsers(playlistId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistUserPermissions[]>)>;
moveItem(playlistId: string, itemId: string, newIndex: number, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
removeItemFromPlaylist(playlistId: string, entryIds?: string[], options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
removeUserFromPlaylist(playlistId: string, userId: string, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
updatePlaylist(playlistId: string, updatePlaylistDto: UpdatePlaylistDto, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
updatePlaylistUser(playlistId: string, userId: string, updatePlaylistUserDto: UpdatePlaylistUserDto, options?: RawAxiosRequestConfig): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>;
}
addItemToPlaylist:function
- addItemToPlaylist(playlistId, ids?, userId?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- playlistId: string
Optional
ids: string[]Optional
userId: stringOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
createPlaylist:function
- createPlaylist(name?, ids?, userId?, mediaType?, createPlaylistDto?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistCreationResult>)>
Parameters
Optional
name: stringOptional
ids: string[]Optional
userId: stringOptional
mediaType: MediaTypeOptional
createPlaylistDto: CreatePlaylistDtoOptional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistCreationResult>)>
getPlaylist:function
- getPlaylist(playlistId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistDto>)>
Parameters
- playlistId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistDto>)>
getPlaylistItems:function
- getPlaylistItems(playlistId, userId?, startIndex?, limit?, fields?, enableImages?, enableUserData?, imageTypeLimit?, enableImageTypes?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
Parameters
- playlistId: string
Optional
userId: stringOptional
startIndex: numberOptional
limit: numberOptional
fields: ItemFields[]Optional
enableImages: booleanOptional
enableUserData: booleanOptional
imageTypeLimit: numberOptional
enableImageTypes: ImageType[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseItemDtoQueryResult>)>
getPlaylistUser:function
- getPlaylistUser(playlistId, userId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistUserPermissions>)>
Parameters
- playlistId: string
- userId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistUserPermissions>)>
getPlaylistUsers:function
- getPlaylistUsers(playlistId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistUserPermissions[]>)>
Parameters
- playlistId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlaylistUserPermissions[]>)>
moveItem:function
- moveItem(playlistId, itemId, newIndex, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- playlistId: string
- itemId: string
- newIndex: number
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
removeItemFromPlaylist:function
- removeItemFromPlaylist(playlistId, entryIds?, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- playlistId: string
Optional
entryIds: string[]Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
removeUserFromPlaylist:function
- removeUserFromPlaylist(playlistId, userId, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- playlistId: string
- userId: string
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
updatePlaylist:function
- updatePlaylist(playlistId, updatePlaylistDto, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- playlistId: string
- updatePlaylistDto: UpdatePlaylistDto
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
updatePlaylistUser:function
- updatePlaylistUser(playlistId, userId, updatePlaylistUserDto, options?): Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
Parameters
- playlistId: string
- userId: string
- updatePlaylistUserDto: UpdatePlaylistUserDto
Optional
options: RawAxiosRequestConfig
Returns Promise<((axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>)>
PlaylistsApi - functional programming interface
Export