getSeasons

suspend fun getSeasons(seriesId: ERROR CLASS: Symbol not found for UUID, userId: ERROR CLASS: Symbol not found for UUID?? = null, fields: Collection<ERROR CLASS: Symbol not found for ItemFields>? = emptyList(), isSpecialSeason: Boolean? = null, isMissing: Boolean? = null, adjacentTo: ERROR CLASS: Symbol not found for UUID?? = null, enableImages: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<ERROR CLASS: Symbol not found for ImageType>? = emptyList(), enableUserData: Boolean? = null): Response<ERROR CLASS: Symbol not found for BaseItemDtoQueryResult>

Gets seasons for a tv series.

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.

isSpecialSeason

Optional. Filter by special season.

isMissing

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

adjacentTo

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

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.


suspend fun getSeasons(request: ERROR CLASS: Symbol not found for GetSeasonsRequest): Response<ERROR CLASS: Symbol not found for BaseItemDtoQueryResult>

Gets seasons for a tv series.

Parameters

request

The request parameters