UserLibraryApi
Functions
Link copied to clipboard
suspend fun deleteUserItemRating(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
Deletes a user's saved personal rating for an item.
Link copied to clipboard
suspend fun getLatestMedia(request: <Error class: unknown class> = GetLatestMediaRequest()): Response<List<<Error class: unknown class>>>
suspend fun getLatestMedia(userId: <Error class: unknown class>? = null, parentId: <Error class: unknown class>? = null, fields: Collection<<Error class: unknown class>>? = emptyList(), includeItemTypes: Collection<<Error class: unknown class>>? = emptyList(), isPlayed: Boolean? = null, enableImages: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<<Error class: unknown class>>? = emptyList(), enableUserData: Boolean? = null, limit: Int? = 20, groupItems: Boolean? = true): Response<List<<Error class: unknown class>>>
Gets latest media.
Link copied to clipboard
suspend fun getLocalTrailers(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null): Response<List<<Error class: unknown class>>>
Gets local trailers for an item.
Link copied to clipboard
suspend fun getRootFolder(userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
Gets the root folder from a user's library.
Link copied to clipboard
suspend fun getSpecialFeatures(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null): Response<List<<Error class: unknown class>>>
Gets special features for an item.
Link copied to clipboard
suspend fun markFavoriteItem(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
Marks an item as a favorite.
Link copied to clipboard
suspend fun unmarkFavoriteItem(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null): Response<<Error class: unknown class>>
Unmarks item as a favorite.
Link copied to clipboard
suspend fun updateUserItemRating(itemId: <Error class: unknown class>, userId: <Error class: unknown class>? = null, likes: Boolean? = null): Response<<Error class: unknown class>>
Updates a user's rating for an item.