GetItemsRequest

data class GetItemsRequest(val userId: UUID? = null, val maxOfficialRating: String? = null, val hasThemeSong: Boolean? = null, val hasThemeVideo: Boolean? = null, val hasSubtitles: Boolean? = null, val hasSpecialFeature: Boolean? = null, val hasTrailer: Boolean? = null, val adjacentTo: UUID? = null, val indexNumber: Int? = null, val parentIndexNumber: Int? = null, val hasParentalRating: Boolean? = null, val isHd: Boolean? = null, val is4k: Boolean? = null, val locationTypes: Collection<LocationType>? = null, val excludeLocationTypes: Collection<LocationType>? = null, val isMissing: Boolean? = null, val isUnaired: Boolean? = null, val minCommunityRating: Double? = null, val minCriticRating: Double? = null, val minPremiereDate: DateTime? = null, val minDateLastSaved: DateTime? = null, val minDateLastSavedForUser: DateTime? = null, val maxPremiereDate: DateTime? = null, val hasOverview: Boolean? = null, val hasImdbId: Boolean? = null, val hasTmdbId: Boolean? = null, val hasTvdbId: Boolean? = null, val isMovie: Boolean? = null, val isSeries: Boolean? = null, val isNews: Boolean? = null, val isKids: Boolean? = null, val isSports: Boolean? = null, val excludeItemIds: Collection<UUID>? = null, val startIndex: Int? = null, val limit: Int? = null, val recursive: Boolean? = null, val searchTerm: String? = null, val sortOrder: Collection<SortOrder>? = null, val parentId: UUID? = null, val fields: Collection<ItemFields>? = null, val excludeItemTypes: Collection<BaseItemKind>? = null, val includeItemTypes: Collection<BaseItemKind>? = null, val filters: Collection<ItemFilter>? = null, val isFavorite: Boolean? = null, val mediaTypes: Collection<MediaType>? = null, val imageTypes: Collection<ImageType>? = null, val sortBy: Collection<ItemSortBy>? = null, val isPlayed: Boolean? = null, val genres: Collection<String>? = null, val officialRatings: Collection<String>? = null, val tags: Collection<String>? = null, val years: Collection<Int>? = null, val enableUserData: Boolean? = null, val imageTypeLimit: Int? = null, val enableImageTypes: Collection<ImageType>? = null, val person: String? = null, val personIds: Collection<UUID>? = null, val personTypes: Collection<String>? = null, val studios: Collection<String>? = null, val artists: Collection<String>? = null, val excludeArtistIds: Collection<UUID>? = null, val artistIds: Collection<UUID>? = null, val albumArtistIds: Collection<UUID>? = null, val contributingArtistIds: Collection<UUID>? = null, val albums: Collection<String>? = null, val albumIds: Collection<UUID>? = null, val ids: Collection<UUID>? = null, val videoTypes: Collection<VideoType>? = null, val minOfficialRating: String? = null, val isLocked: Boolean? = null, val isPlaceHolder: Boolean? = null, val hasOfficialRating: Boolean? = null, val collapseBoxSetItems: Boolean? = null, val minWidth: Int? = null, val minHeight: Int? = null, val maxWidth: Int? = null, val maxHeight: Int? = null, val is3d: Boolean? = null, val seriesStatus: Collection<SeriesStatus>? = null, val nameStartsWithOrGreater: String? = null, val nameStartsWith: String? = null, val nameLessThan: String? = null, val studioIds: Collection<UUID>? = null, val genreIds: Collection<UUID>? = null, val enableTotalRecordCount: Boolean? = true, val enableImages: Boolean? = true)

Items based on a query.

Constructors

Link copied to clipboard
constructor(userId: UUID? = null, maxOfficialRating: String? = null, hasThemeSong: Boolean? = null, hasThemeVideo: Boolean? = null, hasSubtitles: Boolean? = null, hasSpecialFeature: Boolean? = null, hasTrailer: Boolean? = null, adjacentTo: UUID? = null, indexNumber: Int? = null, parentIndexNumber: Int? = null, hasParentalRating: Boolean? = null, isHd: Boolean? = null, is4k: Boolean? = null, locationTypes: Collection<LocationType>? = null, excludeLocationTypes: Collection<LocationType>? = null, isMissing: Boolean? = null, isUnaired: Boolean? = null, minCommunityRating: Double? = null, minCriticRating: Double? = null, minPremiereDate: DateTime? = null, minDateLastSaved: DateTime? = null, minDateLastSavedForUser: DateTime? = null, maxPremiereDate: DateTime? = null, hasOverview: Boolean? = null, hasImdbId: Boolean? = null, hasTmdbId: Boolean? = null, hasTvdbId: Boolean? = null, isMovie: Boolean? = null, isSeries: Boolean? = null, isNews: Boolean? = null, isKids: Boolean? = null, isSports: Boolean? = null, excludeItemIds: Collection<UUID>? = null, startIndex: Int? = null, limit: Int? = null, recursive: Boolean? = null, searchTerm: String? = null, sortOrder: Collection<SortOrder>? = null, parentId: UUID? = null, fields: Collection<ItemFields>? = null, excludeItemTypes: Collection<BaseItemKind>? = null, includeItemTypes: Collection<BaseItemKind>? = null, filters: Collection<ItemFilter>? = null, isFavorite: Boolean? = null, mediaTypes: Collection<MediaType>? = null, imageTypes: Collection<ImageType>? = null, sortBy: Collection<ItemSortBy>? = null, isPlayed: Boolean? = null, genres: Collection<String>? = null, officialRatings: Collection<String>? = null, tags: Collection<String>? = null, years: Collection<Int>? = null, enableUserData: Boolean? = null, imageTypeLimit: Int? = null, enableImageTypes: Collection<ImageType>? = null, person: String? = null, personIds: Collection<UUID>? = null, personTypes: Collection<String>? = null, studios: Collection<String>? = null, artists: Collection<String>? = null, excludeArtistIds: Collection<UUID>? = null, artistIds: Collection<UUID>? = null, albumArtistIds: Collection<UUID>? = null, contributingArtistIds: Collection<UUID>? = null, albums: Collection<String>? = null, albumIds: Collection<UUID>? = null, ids: Collection<UUID>? = null, videoTypes: Collection<VideoType>? = null, minOfficialRating: String? = null, isLocked: Boolean? = null, isPlaceHolder: Boolean? = null, hasOfficialRating: Boolean? = null, collapseBoxSetItems: Boolean? = null, minWidth: Int? = null, minHeight: Int? = null, maxWidth: Int? = null, maxHeight: Int? = null, is3d: Boolean? = null, seriesStatus: Collection<SeriesStatus>? = null, nameStartsWithOrGreater: String? = null, nameStartsWith: String? = null, nameLessThan: String? = null, studioIds: Collection<UUID>? = null, genreIds: Collection<UUID>? = null, enableTotalRecordCount: Boolean? = true, enableImages: Boolean? = true)

Properties

Link copied to clipboard
val adjacentTo: UUID? = null

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

Link copied to clipboard

Optional. If specified, results will be filtered to include only those containing the specified album artist id.

Link copied to clipboard
val albumIds: Collection<UUID>? = null

Optional. If specified, results will be filtered based on album id. This allows multiple, pipe delimited.

Link copied to clipboard
val albums: Collection<String>? = null

Optional. If specified, results will be filtered based on album. This allows multiple, pipe delimited.

Link copied to clipboard
val artistIds: Collection<UUID>? = null

Optional. If specified, results will be filtered to include only those containing the specified artist id.

Link copied to clipboard
val artists: Collection<String>? = null

Optional. If specified, results will be filtered based on artists. This allows multiple, pipe delimited.

Link copied to clipboard

Whether or not to hide items behind their boxsets.

Link copied to clipboard

Optional. If specified, results will be filtered to include only those containing the specified contributing artist id.

Link copied to clipboard
val enableImages: Boolean? = true

Optional, include image information in output.

Link copied to clipboard

Optional. The image types to include in the output.

Link copied to clipboard

Optional. Enable the total record count.

Link copied to clipboard
val enableUserData: Boolean? = null

Optional, include user data.

Link copied to clipboard

Optional. If specified, results will be filtered based on artist id. This allows multiple, pipe delimited.

Link copied to clipboard

Optional. If specified, results will be filtered by excluding item ids. This allows multiple, comma delimited.

Link copied to clipboard

Optional. If specified, results will be filtered based on item type. This allows multiple, comma delimited.

Link copied to clipboard

Optional. If specified, results will be filtered based on the LocationType. This allows multiple, comma delimited.

Link copied to clipboard

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.

Link copied to clipboard

Optional. Specify additional filters to apply. This allows multiple, comma delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes, Dislikes.

Link copied to clipboard
val genreIds: Collection<UUID>? = null

Optional. If specified, results will be filtered based on genre id. This allows multiple, pipe delimited.

Link copied to clipboard
val genres: Collection<String>? = null

Optional. If specified, results will be filtered based on genre. This allows multiple, pipe delimited.

Link copied to clipboard
val hasImdbId: Boolean? = null

Optional filter by items that have an IMDb id or not.

Link copied to clipboard

Optional filter by items that have official ratings.

Link copied to clipboard
val hasOverview: Boolean? = null

Optional filter by items that have an overview or not.

Link copied to clipboard

Optional filter by items that have or do not have a parental rating.

Link copied to clipboard

Optional filter by items with special features.

Link copied to clipboard
val hasSubtitles: Boolean? = null

Optional filter by items with subtitles.

Link copied to clipboard
val hasThemeSong: Boolean? = null

Optional filter by items with theme songs.

Link copied to clipboard
val hasThemeVideo: Boolean? = null

Optional filter by items with theme videos.

Link copied to clipboard
val hasTmdbId: Boolean? = null

Optional filter by items that have a TMDb id or not.

Link copied to clipboard
val hasTrailer: Boolean? = null

Optional filter by items with trailers.

Link copied to clipboard
val hasTvdbId: Boolean? = null

Optional filter by items that have a TVDb id or not.

Link copied to clipboard
val ids: Collection<UUID>? = null

Optional. If specific items are needed, specify a list of item id's to retrieve. This allows multiple, comma delimited.

Link copied to clipboard
val imageTypeLimit: Int? = null

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

Link copied to clipboard

Optional. If specified, results will be filtered based on those containing image types. This allows multiple, comma delimited.

Link copied to clipboard

Optional. If specified, results will be filtered based on the item type. This allows multiple, comma delimited.

Link copied to clipboard
val indexNumber: Int? = null

Optional filter by index number.

Link copied to clipboard
val is3d: Boolean? = null

Optional filter by items that are 3D, or not.

Link copied to clipboard
val is4k: Boolean? = null

Optional filter by items that are 4K or not.

Link copied to clipboard
val isFavorite: Boolean? = null

Optional filter by items that are marked as favorite, or not.

Link copied to clipboard
val isHd: Boolean? = null

Optional filter by items that are HD or not.

Link copied to clipboard
val isKids: Boolean? = null

Optional filter for live tv kids.

Link copied to clipboard
val isLocked: Boolean? = null

Optional filter by items that are locked.

Link copied to clipboard
val isMissing: Boolean? = null

Optional filter by items that are missing episodes or not.

Link copied to clipboard
val isMovie: Boolean? = null

Optional filter for live tv movies.

Link copied to clipboard
val isNews: Boolean? = null

Optional filter for live tv news.

Link copied to clipboard
val isPlaceHolder: Boolean? = null

Optional filter by items that are placeholders.

Link copied to clipboard
val isPlayed: Boolean? = null

Optional filter by items that are played, or not.

Link copied to clipboard
val isSeries: Boolean? = null

Optional filter for live tv series.

Link copied to clipboard
val isSports: Boolean? = null

Optional filter for live tv sports.

Link copied to clipboard
val isUnaired: Boolean? = null

Optional filter by items that are unaired episodes or not.

Link copied to clipboard
val limit: Int? = null

Optional. The maximum number of records to return.

Link copied to clipboard

Optional. If specified, results will be filtered based on LocationType. This allows multiple, comma delimited.

Link copied to clipboard
val maxHeight: Int? = null

Optional. Filter by the maximum height of the item.

Link copied to clipboard

Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).

Link copied to clipboard

Optional. The maximum premiere date. Format = ISO.

Link copied to clipboard
val maxWidth: Int? = null

Optional. Filter by the maximum width of the item.

Link copied to clipboard

Optional filter by MediaType. Allows multiple, comma delimited.

Link copied to clipboard

Optional filter by minimum community rating.

Link copied to clipboard
val minCriticRating: Double? = null

Optional filter by minimum critic rating.

Link copied to clipboard

Optional. The minimum last saved date. Format = ISO.

Link copied to clipboard

Optional. The minimum last saved date for the current user. Format = ISO.

Link copied to clipboard
val minHeight: Int? = null

Optional. Filter by the minimum height of the item.

Link copied to clipboard

Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).

Link copied to clipboard

Optional. The minimum premiere date. Format = ISO.

Link copied to clipboard
val minWidth: Int? = null

Optional. Filter by the minimum width of the item.

Link copied to clipboard
val nameLessThan: String? = null

Optional filter by items whose name is equally or lesser than a given input string.

Link copied to clipboard
val nameStartsWith: String? = null

Optional filter by items whose name is sorted equally than a given input string.

Link copied to clipboard

Optional filter by items whose name is sorted equally or greater than a given input string.

Link copied to clipboard

Optional. If specified, results will be filtered based on OfficialRating. This allows multiple, pipe delimited.

Link copied to clipboard
val parentId: UUID? = null

Specify this to localize the search to a specific item or folder. Omit to use the root.

Link copied to clipboard
val parentIndexNumber: Int? = null

Optional filter by parent index number.

Link copied to clipboard
val person: String? = null

Optional. If specified, results will be filtered to include only those containing the specified person.

Link copied to clipboard
val personIds: Collection<UUID>? = null

Optional. If specified, results will be filtered to include only those containing the specified person id.

Link copied to clipboard

Optional. If specified, along with Person, results will be filtered to include only those containing the specified person and PersonType. Allows multiple, comma-delimited.

Link copied to clipboard
val recursive: Boolean? = null

When searching within folders, this determines whether or not the search will be recursive. true/false.

Link copied to clipboard
val searchTerm: String? = null

Optional. Filter based on a search term.

Link copied to clipboard

Optional filter by Series Status. Allows multiple, comma delimited.

Link copied to clipboard

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.

Link copied to clipboard

Sort Order - Ascending, Descending.

Link copied to clipboard
val startIndex: Int? = null

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

Link copied to clipboard
val studioIds: Collection<UUID>? = null

Optional. If specified, results will be filtered based on studio id. This allows multiple, pipe delimited.

Link copied to clipboard
val studios: Collection<String>? = null

Optional. If specified, results will be filtered based on studio. This allows multiple, pipe delimited.

Link copied to clipboard
val tags: Collection<String>? = null

Optional. If specified, results will be filtered based on tag. This allows multiple, pipe delimited.

Link copied to clipboard
val userId: UUID? = null

The user id supplied as query parameter; this is required when not using an API key.

Link copied to clipboard

Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple, comma delimited.

Link copied to clipboard
val years: Collection<Int>? = null

Optional. If specified, results will be filtered based on production year. This allows multiple, comma delimited.