getEpisodes

suspend fun getEpisodes(seriesId: <Error class: unknown class>, userId: <Error class: unknown class>? = null, fields: Collection<<Error class: unknown class>>? = emptyList(), season: Int? = null, seasonId: <Error class: unknown class>? = null, isMissing: Boolean? = null, adjacentTo: <Error class: unknown class>? = null, startItemId: <Error class: unknown class>? = null, startIndex: Int? = null, limit: Int? = null, enableImages: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<<Error class: unknown class>>? = emptyList(), enableUserData: Boolean? = null, sortBy: <Error class: unknown class>? = null): Response<<Error class: unknown class>>

Gets episodes for a tv season.

Parameters

seriesId

The series id.

userId

The user id.

fields

Optional. Specify additional fields of information to return in the output. This allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl, IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio, Revenue, SortName, Studios, Taglines, TrailerUrls.

season

Optional filter by season number.

seasonId

Optional. Filter by season id.

isMissing

Optional. Filter by items that are missing episodes or not.

adjacentTo

Optional. Return items that are siblings of a supplied item.

startItemId

Optional. Skip through the list until a given item is found.

startIndex

Optional. The record index to start at. All items with a lower index will be dropped from the results.

limit

Optional. The maximum number of records to return.

enableImages

Optional, include image information in output.

imageTypeLimit

Optional, the max number of images to return, per image type.

enableImageTypes

Optional. The image types to include in the output.

enableUserData

Optional. Include user data.

sortBy

Optional. Specify one or more sort orders, comma delimited. Options: Album, AlbumArtist, Artist, Budget, CommunityRating, CriticRating, DateCreated, DatePlayed, PlayCount, PremiereDate, ProductionYear, SortName, Random, Revenue, Runtime.


suspend fun getEpisodes(request: <Error class: unknown class>): Response<<Error class: unknown class>>

Gets episodes for a tv season.

Parameters

request

The request parameters