CineTasty GraphQL-API - Documentation

API Endpoints
http://localhost:3000/

Queries

_

Response

Returns a String

Example

Query
query _ {
  _
}
Response
{"data": {"_": "xyz789"}}

famous

Description

Returns the info about a certain Actor/Actress

Response

Returns a Famous!

Arguments
Name Description
id - Int!
language - ISO6391Language

Example

Query
query famous(
  $id: Int!,
  $language: ISO6391Language
) {
  famous(
    id: $id,
    language: $language
  ) {
    biography
    birthday
    deathday
    id
    images
    knownForDepartment
    name
    placeOfBirth
    popularity
    profilePath
    cast {
      ...FamousCastFragment
    }
  }
}
Variables
{"id": 987, "language": "en"}
Response
{
  "data": {
    "famous": {
      "biography": "xyz789",
      "birthday": "abc123",
      "deathday": "xyz789",
      "id": 123,
      "images": ["xyz789"],
      "knownForDepartment": "xyz789",
      "name": "xyz789",
      "placeOfBirth": "xyz789",
      "popularity": 987.65,
      "profilePath": "abc123",
      "cast": FamousCast
    }
  }
}

mediaGenres

Response

Returns [MediaGenre!]!

Arguments
Name Description
mediaType - MediaType!
language - ISO6391Language

Example

Query
query mediaGenres(
  $mediaType: MediaType!,
  $language: ISO6391Language
) {
  mediaGenres(
    mediaType: $mediaType,
    language: $language
  ) {
    id
    name
  }
}
Variables
{"mediaType": "TV", "language": "en"}
Response
{
  "data": {
    "mediaGenres": [
      {"id": 123, "name": "xyz789"}
    ]
  }
}

movie

Response

Returns a Movie!

Arguments
Name Description
id - Int!
language - ISO6391Language

Example

Query
query movie(
  $id: Int!,
  $language: ISO6391Language
) {
  movie(
    id: $id,
    language: $language
  ) {
    adult
    backdropPath
    belongsToCollection {
      ...MovieBelongsToCollectionFragment
    }
    budget
    genres
    homepage
    id
    imdbId
    originalLanguage
    originalTitle
    overview
    popularity
    posterPath
    productionCompanies {
      ...MovieProductionCompanyFragment
    }
    productionCountries
    releaseDate
    revenue
    runtime
    spokenLanguages
    status
    tagline
    title
    video
    voteAverage
    voteCount
    similar {
      ...SimilarMovieFragment
    }
    videos {
      ...MediaVideoFragment
    }
    images
    cast {
      ...MediaCastFragment
    }
    crew {
      ...MediaCrewFragment
    }
  }
}
Variables
{"id": 123, "language": "en"}
Response
{
  "data": {
    "movie": {
      "adult": true,
      "backdropPath": "xyz789",
      "belongsToCollection": MovieBelongsToCollection,
      "budget": 123.45,
      "genres": ["xyz789"],
      "homepage": "xyz789",
      "id": 123,
      "imdbId": "xyz789",
      "originalLanguage": "abc123",
      "originalTitle": "abc123",
      "overview": "abc123",
      "popularity": 987.65,
      "posterPath": "abc123",
      "productionCompanies": [MovieProductionCompany],
      "productionCountries": ["abc123"],
      "releaseDate": "abc123",
      "revenue": 987.65,
      "runtime": 987,
      "spokenLanguages": ["xyz789"],
      "status": "xyz789",
      "tagline": "xyz789",
      "title": "xyz789",
      "video": true,
      "voteAverage": 123.45,
      "voteCount": 123,
      "similar": [SimilarMovie],
      "videos": [MediaVideo],
      "images": ["abc123"],
      "cast": [MediaCast],
      "crew": [MediaCrew]
    }
  }
}

news

Description

Returns paginated articles for the specified language

Response

Returns a NewsResult!

Arguments
Name Description
page - Int!
language - NewsLanguage!

Example

Query
query news(
  $page: Int!,
  $language: NewsLanguage!
) {
  news(
    page: $page,
    language: $language
  ) {
    items {
      ...NewsArticleFragment
    }
    hasMore
  }
}
Variables
{"page": 123, "language": "AR"}
Response
{
  "data": {
    "news": {"items": [NewsArticle], "hasMore": false}
  }
}

quiz

Description

Returns a set of questions related to TV-Shows, Movies and Cinema in general

Response

Returns [QuizQuestion!]!

Arguments
Name Description
input - QuizInput!

Example

Query
query quiz($input: QuizInput!) {
  quiz(input: $input) {
    options
    category
    type
    difficulty
    question
    correctAnswer
  }
}
Variables
{"input": QuizInput}
Response
{
  "data": {
    "quiz": [
      {
        "options": ["xyz789"],
        "category": "xyz789",
        "type": "xyz789",
        "difficulty": "abc123",
        "question": "xyz789",
        "correctAnswer": "xyz789"
      }
    ]
  }
}

searchFamous

Response

Returns a SearchFamousResult!

Arguments
Name Description
input - SearchInput!

Example

Query
query searchFamous($input: SearchInput!) {
  searchFamous(input: $input) {
    totalResults
    totalPages
    items {
      ...SearchFamousItemFragment
    }
    hasMore
  }
}
Variables
{"input": SearchInput}
Response
{
  "data": {
    "searchFamous": {
      "totalResults": 987,
      "totalPages": 987,
      "items": [SearchFamousItem],
      "hasMore": true
    }
  }
}

searchMovies

Response

Returns a SearchMoviesResult!

Arguments
Name Description
input - SearchInput!

Example

Query
query searchMovies($input: SearchInput!) {
  searchMovies(input: $input) {
    totalResults
    totalPages
    items {
      ...SearchMovieItemFragment
    }
    hasMore
  }
}
Variables
{"input": SearchInput}
Response
{
  "data": {
    "searchMovies": {
      "totalResults": 987,
      "totalPages": 123,
      "items": [SearchMovieItem],
      "hasMore": true
    }
  }
}

searchTVShows

Response

Returns a SearchTVShowsResult!

Arguments
Name Description
input - SearchInput!

Example

Query
query searchTVShows($input: SearchInput!) {
  searchTVShows(input: $input) {
    totalResults
    totalPages
    items {
      ...SearchTVShowItemFragment
    }
    hasMore
  }
}
Variables
{"input": SearchInput}
Response
{
  "data": {
    "searchTVShows": {
      "totalResults": 987,
      "totalPages": 123,
      "items": [SearchTVShowItem],
      "hasMore": false
    }
  }
}

trendingFamous

Response

Returns a TrendingFamousResult!

Arguments
Name Description
page - Int!
language - ISO6391Language

Example

Query
query trendingFamous(
  $page: Int!,
  $language: ISO6391Language
) {
  trendingFamous(
    page: $page,
    language: $language
  ) {
    totalResults
    totalPages
    items {
      ...TrendingFamousItemFragment
    }
    hasMore
  }
}
Variables
{"page": 987, "language": "en"}
Response
{
  "data": {
    "trendingFamous": {
      "totalResults": 987,
      "totalPages": 123,
      "items": [TrendingFamousItem],
      "hasMore": false
    }
  }
}

trendingMovies

Response

Returns a TrendingMovies!

Arguments
Name Description
language - ISO6391Language

Example

Query
query trendingMovies($language: ISO6391Language) {
  trendingMovies(language: $language) {
    nowPlaying {
      ...TrendingMovieFragment
    }
    popular {
      ...TrendingMovieFragment
    }
    topRated {
      ...TrendingMovieFragment
    }
    upcoming {
      ...TrendingMovieFragment
    }
  }
}
Variables
{"language": "en"}
Response
{
  "data": {
    "trendingMovies": {
      "nowPlaying": [TrendingMovie],
      "popular": [TrendingMovie],
      "topRated": [TrendingMovie],
      "upcoming": [TrendingMovie]
    }
  }
}

trendingTVShows

Response

Returns a TrendingTVShows!

Arguments
Name Description
language - ISO6391Language

Example

Query
query trendingTVShows($language: ISO6391Language) {
  trendingTVShows(language: $language) {
    airingToday {
      ...TrendingTVShowFragment
    }
    onTheAir {
      ...TrendingTVShowFragment
    }
    popular {
      ...TrendingTVShowFragment
    }
    topRated {
      ...TrendingTVShowFragment
    }
  }
}
Variables
{"language": "en"}
Response
{
  "data": {
    "trendingTVShows": {
      "airingToday": [TrendingTVShow],
      "onTheAir": [TrendingTVShow],
      "popular": [TrendingTVShow],
      "topRated": [TrendingTVShow]
    }
  }
}

tvShow

Response

Returns a TVShow!

Arguments
Name Description
id - Int!
language - ISO6391Language

Example

Query
query tvShow(
  $id: Int!,
  $language: ISO6391Language
) {
  tvShow(
    id: $id,
    language: $language
  ) {
    adult
    backdropPath
    createdBy {
      ...CreatedByFragment
    }
    episodeRunTime
    firstAirDate
    genres
    homepage
    id
    inProduction
    languages
    lastAirDate
    lastEpisodeToAir {
      ...LastEpisodeToAirFragment
    }
    name
    nextEpisodeToAir
    networks {
      ...NetworksFragment
    }
    numberOfEpisodes
    numberOfSeasons
    originCountry
    originalLanguage
    originalName
    overview
    popularity
    posterPath
    productionCompanies {
      ...ProductionCompaniesFragment
    }
    productionCountries
    seasons {
      ...SeasonsFragment
    }
    spokenLanguages
    status
    tagline
    type
    voteAverage
    voteCount
    images
    similar {
      ...SimilarTVShowFragment
    }
    videos {
      ...MediaVideoFragment
    }
    cast {
      ...MediaCastFragment
    }
    crew {
      ...MediaCrewFragment
    }
  }
}
Variables
{"id": 987, "language": "en"}
Response
{
  "data": {
    "tvShow": {
      "adult": false,
      "backdropPath": "abc123",
      "createdBy": [CreatedBy],
      "episodeRunTime": [987],
      "firstAirDate": "xyz789",
      "genres": ["xyz789"],
      "homepage": "abc123",
      "id": 987,
      "inProduction": true,
      "languages": ["xyz789"],
      "lastAirDate": "abc123",
      "lastEpisodeToAir": LastEpisodeToAir,
      "name": "abc123",
      "nextEpisodeToAir": "xyz789",
      "networks": [Networks],
      "numberOfEpisodes": 987,
      "numberOfSeasons": 123,
      "originCountry": ["xyz789"],
      "originalLanguage": "xyz789",
      "originalName": "abc123",
      "overview": "xyz789",
      "popularity": 987.65,
      "posterPath": "xyz789",
      "productionCompanies": [ProductionCompanies],
      "productionCountries": ["abc123"],
      "seasons": [Seasons],
      "spokenLanguages": ["xyz789"],
      "status": "abc123",
      "tagline": "xyz789",
      "type": "xyz789",
      "voteAverage": 987.65,
      "voteCount": 123,
      "images": ["abc123"],
      "similar": [SimilarTVShow],
      "videos": [MediaVideo],
      "cast": [MediaCast],
      "crew": [MediaCrew]
    }
  }
}

tvShowSeason

Response

Returns a TVShowSeason!

Arguments
Name Description
input - TVShowSeasonInput!

Example

Query
query tvShowSeason($input: TVShowSeasonInput!) {
  tvShowSeason(input: $input) {
    _id
    airDate
    episodes {
      ...EpisodeFragment
    }
    name
    overview
    id
    posterPath
    seasonNumber
    voteAverage
  }
}
Variables
{"input": TVShowSeasonInput}
Response
{
  "data": {
    "tvShowSeason": {
      "_id": 4,
      "airDate": "xyz789",
      "episodes": [Episode],
      "name": "xyz789",
      "overview": "xyz789",
      "id": 987,
      "posterPath": "abc123",
      "seasonNumber": 987,
      "voteAverage": 123.45
    }
  }
}

Types

BaseFamousCast

Description

Definition of the Base-type of the FamousCast

Fields
Field Name Description
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
character - String Character name
creditId - String Credit id
id - Int! Cast id
genres - [String!]! TV-Show/Movie genres
Arguments
language - ISO6391Language
mediaType - String Indicates if the media is TV-Show or Movie
originalLanguage - String TV-Show/Movie original language
overview - String TV-Show/Movie overview
popularity - Float Number indicating the popularity of the TV-Show/Movie
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
voteAverage - Float Number indicating the average of votes for the TV-Show/Movie
voteCount - Float Number indicating how many votes the TV-Show/Movie has
Possible Types
BaseFamousCast Types

FamousCastMovie

FamousCastTVShow

Example
{
  "backdropPath": "xyz789",
  "character": "abc123",
  "creditId": "abc123",
  "id": 123,
  "genres": ["abc123"],
  "mediaType": "abc123",
  "originalLanguage": "xyz789",
  "overview": "xyz789",
  "popularity": 987.65,
  "posterPath": "xyz789",
  "voteAverage": 987.65,
  "voteCount": 987.65
}

Boolean

Description

The Boolean scalar type represents true or false.

CreatedBy

Description

Describes TV-Show creators

Fields
Field Name Description
id - Int! TV-Show creator id
creditId - String TV-Show creator credit-id
name - String TV-Show creator name
gender - Int TV-Show creator gender
profilePath - String Profile image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Example
{
  "id": 123,
  "creditId": "abc123",
  "name": "abc123",
  "gender": 123,
  "profilePath": "abc123"
}

Episode

Description

Describes a TV-Show-Season Episode

Fields
Field Name Description
airDate - String TV-Show-Season-Episode air-date (MM-DD-YYYY)
episodeNumber - Int TV-Show-Season-Episode number
episodeType - String TV-Show-Season-Episode type
id - Int! TV-Show-Season-Episode id
crew - [TVShowEpisodeCrew!]! TV-Show-Season-Episode crew
guestStars - [TVShowEpisodeGuestStar!]! TV-Show-Season-Episode guests stars
name - String TV-Show-Season-Episode name
overview - String TV-Show-Season-Episode overview
productionCode - String TV-Show-Season-Episode production code
runtime - Int TV-Show-Season-Episode runtime
seasonNumber - Int TV-Show-Season-Episode season number
showId - Int TV-Show-Season-Episode TV-Show id
stillPath - String Still image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
voteAverage - Float Number indicating the average of votes for the Episode
voteCount - Int Number indicating how many votes the Episode has
Example
{
  "airDate": "xyz789",
  "episodeNumber": 987,
  "episodeType": "abc123",
  "id": 987,
  "crew": [TVShowEpisodeCrew],
  "guestStars": [TVShowEpisodeGuestStar],
  "name": "abc123",
  "overview": "xyz789",
  "productionCode": "abc123",
  "runtime": 987,
  "seasonNumber": 987,
  "showId": 987,
  "stillPath": "abc123",
  "voteAverage": 987.65,
  "voteCount": 123
}

Famous

Fields
Field Name Description
biography - String Biography
birthday - String Birthday (MM-DD-YYYY)
deathday - String Deathday (MM-DD-YYYY)
id - Int! Id
images - [String!]! Images gallery
knownForDepartment - String Departments in which the actor/actress works (acting, directing...)
name - String Name
placeOfBirth - String Place of Birth
popularity - Float Number indicating popularity
profilePath - String Profile image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
cast - FamousCast! Movies and TV-Shows in which the actor/actress is in the cast
Arguments
language - ISO6391Language
Example
{
  "biography": "abc123",
  "birthday": "xyz789",
  "deathday": "abc123",
  "id": 123,
  "images": ["xyz789"],
  "knownForDepartment": "xyz789",
  "name": "abc123",
  "placeOfBirth": "xyz789",
  "popularity": 987.65,
  "profilePath": "abc123",
  "cast": FamousCast
}

FamousCast

Fields
Field Name Description
moviesCast - [FamousCastMovie!]! Movies in which the actor/actress is in the cast
tvShowsCast - [FamousCastTVShow!]! TV-Shows in which the actor/actress is in the cast
Example
{
  "moviesCast": [FamousCastMovie],
  "tvShowsCast": [FamousCastTVShow]
}

FamousCastMovie

Description

Describes the Movies in which the Actor/Actress is in the cast

Fields
Field Name Description
adult - Boolean Indicates if the movie has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
character - String Movie character name
creditId - String Movie credit id
genres - [String!]! Movie genres
Arguments
language - ISO6391Language
id - Int! Movie id
originalLanguage - String Movie original language
originalTitle - String Movie original title
popularity - Float Number indicating the popularity of the Movie
posterPath - String Movie Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
mediaType - String For Movies, this value will always be 'movie'
overview - String Movie overview
releaseDate - String Movie release date (MM-DD-YYYY)
title - String Movie title
video - Boolean Indicates if the Movie has some video
voteAverage - Float Number indicating the average of votes for the Movie
voteCount - Float Number indicating how many votes the Movie has
Example
{
  "adult": true,
  "backdropPath": "xyz789",
  "character": "xyz789",
  "creditId": "abc123",
  "genres": ["xyz789"],
  "id": 987,
  "originalLanguage": "xyz789",
  "originalTitle": "xyz789",
  "popularity": 123.45,
  "posterPath": "xyz789",
  "mediaType": "abc123",
  "overview": "xyz789",
  "releaseDate": "abc123",
  "title": "abc123",
  "video": true,
  "voteAverage": 123.45,
  "voteCount": 987.65
}

FamousCastTVShow

Description

Describes the TV-Shows in which the Actor/Actress is in the cast

Fields
Field Name Description
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
character - String TV-Show character
creditId - String TV-Show credit id
episodeCount - Int Indicates how many episodes the TV-Show has so far
firstAirDate - String TV-Show first air date (MM-DD-YYYY)
genres - [String!]! TV-Show genres
Arguments
language - ISO6391Language
id - Int! TV-Show id
mediaType - String For TV-Show, this value will always be 'tv-show'
name - String TV-Show name
originalLanguage - String TV-Show original language
originalName - String TV-Show original name
originCountry - [String!]! TV-Show origin countries
overview - String TV-Show overview
popularity - Float Number indicating the popularity of the TV-Show
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
voteAverage - Float Number indicating the average of votes for the TV-Show
voteCount - Float Number indicating how many votes the TV-Show has
Example
{
  "backdropPath": "xyz789",
  "character": "xyz789",
  "creditId": "xyz789",
  "episodeCount": 987,
  "firstAirDate": "xyz789",
  "genres": ["xyz789"],
  "id": 987,
  "mediaType": "abc123",
  "name": "xyz789",
  "originalLanguage": "abc123",
  "originalName": "xyz789",
  "originCountry": ["xyz789"],
  "overview": "xyz789",
  "popularity": 987.65,
  "posterPath": "abc123",
  "voteAverage": 987.65,
  "voteCount": 123.45
}

Float

Description

The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.

Example
123.45

ID

Description

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.

Example
"4"

ISO6391Language

Description

Describes the acceptable languages for the TheMovieDB operations

Values
Enum Value Description

en

English

pt

Portuguese

es

Spanish
Example
"en"

Int

Description

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
987

LastEpisodeToAir

Description

Describes the TV-Show last episode to air

Fields
Field Name Description
id - Int! TV-Show-Last-Episode-To-Air id
name - String TV-Show-Last-Episode-To-Air name
overview - String TV-Show-Last-Episode-To-Air overview
voteAverage - Float Number indicating the average of votes for the TV-Show-Last-Episode
voteCount - Int Number indicating how many votes the TV-Show-Last-Episode has
airDate - String TV-Show-Last-Episode-To-Air air-date (MM-DD-YYYY)
episodeNumber - Int TV-Show-Last-Episode-To-Air episode number
productionCode - String
runtime - Int TV-Show-Last-Episode-To-Air runtime
seasonNumber - Int TV-Show-Last-Episode-To-Air season number
showId - Int TV-Show-Last-Episode-To-Air TV-Show id
stillPath - String Still image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Example
{
  "id": 987,
  "name": "xyz789",
  "overview": "abc123",
  "voteAverage": 123.45,
  "voteCount": 987,
  "airDate": "xyz789",
  "episodeNumber": 987,
  "productionCode": "abc123",
  "runtime": 987,
  "seasonNumber": 123,
  "showId": 987,
  "stillPath": "xyz789"
}

MediaCast

Description

Describes the cast of a Movie or TV-Show

Fields
Field Name Description
adult - Boolean Indicates if the TV-Show/Moive has the 'adult' classification
id - Int! TV-Shw/Moive id
knownForDepartment - String Departments in which the actor/actress works (acting, directing...)
name - String Actor/Actress name
originalName - String TV-Shw/Moive original name
popularity - Float Number indicating the popularity of the TV-Show/Movie
profilePath - String Actor/Actress profile image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
character - String Actor/Actress character
creditId - String TV-Shw/Moive original credit-id
order - Int TV-Shw/Moive original order
Example
{
  "adult": true,
  "id": 987,
  "knownForDepartment": "abc123",
  "name": "xyz789",
  "originalName": "xyz789",
  "popularity": 123.45,
  "profilePath": "xyz789",
  "character": "abc123",
  "creditId": "xyz789",
  "order": 123
}

MediaCrew

Description

Describes the crew of a TV-Show/Movie

Fields
Field Name Description
department - String Deparment in which the crew-member works (filming, acting, directing...)
id - Int! Media crew-member id
job - String Media crew-member job
name - String Media crew-member name
profilePath - String Profile image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Example
{
  "department": "abc123",
  "id": 987,
  "job": "xyz789",
  "name": "abc123",
  "profilePath": "xyz789"
}

MediaGenre

Description

Describes the genre of a TV-Show/Movie

Fields
Field Name Description
id - Int! Genre-id
name - String Genre name
Example
{"id": 123, "name": "xyz789"}

MediaType

Description

Describes the media-types: TV or Movie

Values
Enum Value Description

TV

MOVIE

Example
"TV"

MediaVideo

Description

Describes the TV-Show/Media video

Fields
Field Name Description
thumbnail - Thumbnail Thumbnail data
key - String Youtube key used to access a video (e.g. https://www.youtube.com/watch?v=<key)>
name - String Youtube video name
site - String At the moment, the only possible value here is 'YouTube'
id - ID Youtube video id
type - String Type of the Youtube video
Example
{
  "thumbnail": Thumbnail,
  "key": "xyz789",
  "name": "xyz789",
  "site": "abc123",
  "id": "4",
  "type": "xyz789"
}

Movie

Description

Describes a Movie

Fields
Field Name Description
adult - Boolean Indicates if the Movie has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
belongsToCollection - MovieBelongsToCollection Collection in which the Movie is included
budget - Float Budget used in the Movie production
genres - [String!]! Movie genres
Arguments
language - ISO6391Language
homepage - String Movie homepage
id - Int! Movie id
imdbId - String Movie IMDB-id
originalLanguage - String Movie original language
originalTitle - String Movie original title
overview - String Movie original overview
popularity - Float Number indicating the popularity of the Movie
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
productionCompanies - [MovieProductionCompany!]! Companies that produced the Movie
productionCountries - [String!]! Countries where the Movie was produced
releaseDate - String Movie release data (MM-DD-YYYY)
revenue - Float Movie revenue
runtime - Int Movie runtime
spokenLanguages - [String!]! Languages spoken in the Movie
status - String Current Status of the Movie (released, filming...)
tagline - String Movie tagline
title - String Movie title
video - Boolean Indicates if the Movie has some video
voteAverage - Float Number indicating the average of votes for the Movie
voteCount - Int Number indicating how many votes the Movie has
similar - [SimilarMovie!]! Similar Movies
Arguments
id - Int!
language - ISO6391Language
videos - [MediaVideo!]! Movie videos
Arguments
id - Int!
language - ISO6391Language
images - [String!]! Movie images - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Arguments
id - Int!
language - ISO6391Language
cast - [MediaCast!]! Movie cast
crew - [MediaCrew!]! Movie crew
Example
{
  "adult": true,
  "backdropPath": "abc123",
  "belongsToCollection": MovieBelongsToCollection,
  "budget": 987.65,
  "genres": ["xyz789"],
  "homepage": "abc123",
  "id": 123,
  "imdbId": "xyz789",
  "originalLanguage": "abc123",
  "originalTitle": "xyz789",
  "overview": "abc123",
  "popularity": 123.45,
  "posterPath": "xyz789",
  "productionCompanies": [MovieProductionCompany],
  "productionCountries": ["abc123"],
  "releaseDate": "abc123",
  "revenue": 123.45,
  "runtime": 987,
  "spokenLanguages": ["xyz789"],
  "status": "xyz789",
  "tagline": "xyz789",
  "title": "abc123",
  "video": true,
  "voteAverage": 123.45,
  "voteCount": 123,
  "similar": [SimilarMovie],
  "videos": [MediaVideo],
  "images": ["xyz789"],
  "cast": [MediaCast],
  "crew": [MediaCrew]
}

MovieBelongsToCollection

Description

Describes a collection in which the movie is included

Fields
Field Name Description
id - Int! Collection id
name - String Collection name
posterPath - String Collection poster path - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Example
{
  "id": 987,
  "name": "abc123",
  "posterPath": "abc123",
  "backdropPath": "abc123"
}

MovieProductionCompany

Description

Describes a company that was part of the Movie-production

Fields
Field Name Description
id - Int! Company id
logoPath - String Company logo image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
name - String Company name
originCountry - String Company origin country
Example
{
  "id": 123,
  "logoPath": "abc123",
  "name": "abc123",
  "originCountry": "xyz789"
}

Networks

Description

Describe the TV-Show Networks

Fields
Field Name Description
id - Int! TV-Show-Network id
logoPath - String Logo image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
name - String TV-Show-Network name
originCountry - String TV-Show-Network origin country
Example
{
  "id": 987,
  "logoPath": "abc123",
  "name": "abc123",
  "originCountry": "xyz789"
}

NewsArticle

Fields
Field Name Description
publishedAt - String Publication date
description - String Description
content - String Content
source - String Source
author - String Author
title - String Title
image - String Image
url - String URL to the article source
id - ID Id attached to the Article
Example
{
  "publishedAt": "abc123",
  "description": "xyz789",
  "content": "xyz789",
  "source": "abc123",
  "author": "xyz789",
  "title": "xyz789",
  "image": "abc123",
  "url": "xyz789",
  "id": "4"
}

NewsLanguage

Values
Enum Value Description

AR

Arabic

DE

German

EN

English

ES

Spanish

FR

French

HE

Hebrew

IT

Italian

NL

Dutch

NO

Norwegian

PT

Portuguese

RU

Russian

SE

Northern Sami

ZH

Mandarim
Example
"AR"

NewsResult

Fields
Field Name Description
items - [NewsArticle!]! Response array
hasMore - Boolean! Indicates if there is more items to be fetched
Example
{"items": [NewsArticle], "hasMore": true}

ProductionCompanies

Description

Describe the TV-Show Production companies

Fields
Field Name Description
id - Int! TV-Show-Production-Companies id
logoPath - String Logo image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
name - String TV-Show-Production-Companies name
originCountry - String TV-Show-Production-Companies origin country
Example
{
  "id": 987,
  "logoPath": "abc123",
  "name": "xyz789",
  "originCountry": "xyz789"
}

QuizInput

Fields
Input Field Description
difficulty - QuizQuestionDifficulty! Difficulty selected
type - QuizQuestionType! Type of the questions
category - QuizQuestionCategory! Category of the questions
numberOfQuestions - Int! Number of questions to be returned
Example
{
  "difficulty": "EASY",
  "type": "MULTIPLE",
  "category": "MOVIE",
  "numberOfQuestions": 987
}

QuizQuestion

Fields
Field Name Description
options - [String!]! Available options to be select
category - String! Question category - TV, Films, Cinema...
type - String! Question type (same as QuizQuestionType)
difficulty - String! Question difficulty (same as QuizQuestionDifficulty)
question - String! Question description
correctAnswer - String! Question correct answer
Example
{
  "options": ["abc123"],
  "category": "xyz789",
  "type": "xyz789",
  "difficulty": "xyz789",
  "question": "abc123",
  "correctAnswer": "abc123"
}

QuizQuestionCategory

Values
Enum Value Description

MOVIE

Only questions related to Movies

TV

Only questions related to TV-shows

MIXED

Questions related to both Movies and TV-shows
Example
"MOVIE"

QuizQuestionDifficulty

Values
Enum Value Description

EASY

Only Easy questions

MEDIUM

Only Medium questions

HARD

Only Hard questions

MIXED

Difficulty mixed (Easy and Medium and Hard questions)
Example
"EASY"

QuizQuestionType

Values
Enum Value Description

MULTIPLE

Only Mutliple-Choice questions

BOOLEAN

Only Boolean (True/False) questions

MIXED

Mixed questions (Multiple-Choice and Boolean)
Example
"MULTIPLE"

SearchFamousItem

Description

Describes the item returned by the search-for-famous

Fields
Field Name Description
adult - Boolean Indicates if the Actor/Actress is adult
id - Int Actor/Actress id
gender - Int Actor/Actress gender
knownForDepartment - String Department in which the Actor/Actress works (filming, acting...)
knownFor - [SearchFamousKnownFor!]! Movies and TV-Shows in which the Actor/Actress were in the cast
name - String Actor/Actress name
originalName - String Actor/Actress original name
popularity - Float Number indicating the popularity of the Actor/Actress
profilePath - String Profile image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Example
{
  "adult": false,
  "id": 987,
  "gender": 123,
  "knownForDepartment": "xyz789",
  "knownFor": [SearchFamousKnownForTVShow],
  "name": "abc123",
  "originalName": "xyz789",
  "popularity": 123.45,
  "profilePath": "xyz789"
}

SearchFamousKnownFor

Description

The Actor/Actress can be know for Movies or TV-Shows

Example
SearchFamousKnownForTVShow

SearchFamousKnownForMovie

Description

Describes the Movies in which the searched Actor/Actress were in the cast

Fields
Field Name Description
adult - Boolean Indicates if the Searched Movie has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
id - Int! Searched Movie id
title - String Searched Movie title
originalLanguage - String Searched Movie original language
originalTitle - String Searched Movie original title
overview - String Searched Movie overview
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
mediaType - String For Movies, this value will always be 'movie'
genres - [String!]! Searched Movie genres
Arguments
input - SearchInput!
popularity - Float Number indicating the popularity of the Searched Movie
releaseDate - String Searched Movie first-air-date (MM-DD-YYYY)
video - Boolean Indicates if the Movie has some video
voteAverage - Float Number indicating the average of votes for the Searched Movie
voteCount - Int Number indicating how many votes the Searched Movie has
Example
{
  "adult": true,
  "backdropPath": "abc123",
  "id": 123,
  "title": "xyz789",
  "originalLanguage": "abc123",
  "originalTitle": "abc123",
  "overview": "abc123",
  "posterPath": "abc123",
  "mediaType": "xyz789",
  "genres": ["abc123"],
  "popularity": 123.45,
  "releaseDate": "abc123",
  "video": false,
  "voteAverage": 987.65,
  "voteCount": 987
}

SearchFamousKnownForTVShow

Description

Describes the TV-Shows in which the searched Actor/Actress were in the cast

Fields
Field Name Description
adult - Boolean Indicates if the Searched TV-Show has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
id - Int! Searched TV-Show id
name - String Searched TV-Show name
originalLanguage - String Searched TV-Show original language
originalName - String Searched TV-Show original name
overview - String Searched TV-Show overview
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
mediaType - String For TV-Shows, this value will always be 'tv-show'
genres - [String!]! Searched TV-Show genres
Arguments
input - SearchInput!
popularity - Float Number indicating the popularity of the Searched TV-Show
firstAirDate - String Searched TV-Show first-air-date (MM-DD-YYYY)
voteAverage - Float Number indicating the average of votes for the Searched TV-Show
voteCount - Int Number indicating how many votes the Searched TV-Show has
originCountry - [String!]! Searched TV-Show origin country
Example
{
  "adult": true,
  "backdropPath": "abc123",
  "id": 987,
  "name": "abc123",
  "originalLanguage": "abc123",
  "originalName": "xyz789",
  "overview": "abc123",
  "posterPath": "xyz789",
  "mediaType": "xyz789",
  "genres": ["abc123"],
  "popularity": 123.45,
  "firstAirDate": "abc123",
  "voteAverage": 123.45,
  "voteCount": 987,
  "originCountry": ["xyz789"]
}

SearchFamousResult

Description

Describes the results of a Search-for-Famous

Fields
Field Name Description
totalResults - Int! How many results will be returned
totalPages - Int! How many pages exists for the search
items - [SearchFamousItem!]! Items returned by the search
hasMore - Boolean! Indicates if there is more items to be returned
Example
{
  "totalResults": 987,
  "totalPages": 987,
  "items": [SearchFamousItem],
  "hasMore": false
}

SearchInput

Description

Describes the Input used for Search

Fields
Input Field Description
page - Int! Search-page
query - String! Search-query
language - ISO6391Language In which language the results should be presented
Example
{
  "page": 987,
  "query": "xyz789",
  "language": "en"
}

SearchMovieItem

Description

Describes the Searched Movie

Fields
Field Name Description
adult - Boolean Indicates if the Searched Movie has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
genres - [String!]! Searched Movie genres
Arguments
input - SearchInput!
id - Int! Searched Movie id
originalLanguage - String Searched Movie original language
originalTitle - String Searched Movie original title
overview - String Searched Movie original overview
popularity - Float Number indicating the popularity of the Movie
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
releaseDate - String Searched Movie release date (MM-DD-YYYY)
title - String Searched Movie title
video - Boolean Indicates if the Searched Movie has some video
voteAverage - Float Number indicating the average of votes for the Searched Movie
voteCount - Int Number indicating how many votes the Searched Movie has
Example
{
  "adult": true,
  "backdropPath": "abc123",
  "genres": ["xyz789"],
  "id": 123,
  "originalLanguage": "xyz789",
  "originalTitle": "xyz789",
  "overview": "abc123",
  "popularity": 987.65,
  "posterPath": "abc123",
  "releaseDate": "abc123",
  "title": "xyz789",
  "video": false,
  "voteAverage": 987.65,
  "voteCount": 123
}

SearchMoviesResult

Description

Describes the results of a Search-Movie

Fields
Field Name Description
totalResults - Int! How many results will be returned
totalPages - Int! How many pages exists for the search
items - [SearchMovieItem!]! Items returned by the search
hasMore - Boolean! Indicates if there is more items to be returned
Example
{
  "totalResults": 987,
  "totalPages": 987,
  "items": [SearchMovieItem],
  "hasMore": false
}

SearchTVShowItem

Fields
Field Name Description
adult - Boolean Indicates if the Searched TV-Show has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
genres - [String!]! Searched TV-Show genres
Arguments
input - SearchInput!
id - Int! Searched TV-Show id
originCountry - [String!]! Searched TV-Show origin countries
originalLanguage - String Searched TV-Show original language
originalName - String Searched TV-Show original name
overview - String Searched TV-Show original overview
popularity - Float Searched TV-Show original popularity
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
firstAirDate - String Searched TV-Show fisrt-air date (MM-DD-YYYY)
name - String Searched TV-Show name
voteAverage - Float Number indicating the average of votes for the Searched TV-Show
voteCount - Int Number indicating how many votes the Searched TV-Show has
Example
{
  "adult": false,
  "backdropPath": "abc123",
  "genres": ["xyz789"],
  "id": 123,
  "originCountry": ["abc123"],
  "originalLanguage": "xyz789",
  "originalName": "xyz789",
  "overview": "abc123",
  "popularity": 123.45,
  "posterPath": "abc123",
  "firstAirDate": "abc123",
  "name": "xyz789",
  "voteAverage": 123.45,
  "voteCount": 123
}

SearchTVShowsResult

Description

Describes the results of a Search-Movie

Fields
Field Name Description
totalResults - Int! How many results will be returned
totalPages - Int! How many pages exists for the search
items - [SearchTVShowItem!]! Items returned by the search
hasMore - Boolean! Indicates if there is more items to be returned
Example
{
  "totalResults": 123,
  "totalPages": 123,
  "items": [SearchTVShowItem],
  "hasMore": false
}

Seasons

Description

Describes TV-Show Season

Fields
Field Name Description
airDate - String TV-Show-Season air-date (MM-DD-YYYY)
episodeCount - Int TV-Show-Season episode count
id - Int TV-Show-Season id
name - String TV-Show-Season name
overview - String TV-Show-Season overview
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
seasonNumber - Int TV-Show-Season season number
voteAverage - Float Number indicating the average of votes for the TV-Show-Season
Example
{
  "airDate": "xyz789",
  "episodeCount": 987,
  "id": 123,
  "name": "abc123",
  "overview": "xyz789",
  "posterPath": "xyz789",
  "seasonNumber": 123,
  "voteAverage": 987.65
}

SimilarMovie

Description

Describe a Movie that is similar to other Movie

Fields
Field Name Description
adult - Boolean Indicates if the Similar-Moive has the 'adult' classification
backdropPath - String Backdrop path - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
id - Int! Similar-Movie id
originalLanguage - String Similar-Movie original language
originalTitle - String Similar-Movie original title
overview - String Similar-Movie overview
popularity - Float Number indicating the popularity of the Similar-Movie
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
releaseDate - String Similar-Movie release date (MM-DD-YYYY)
title - String Similar-Movie title
voteAverage - Float Number indicating the average of votes for the Similar-Movie
voteCount - Int Number indicating how many votes the Similar-Movie has
Example
{
  "adult": false,
  "backdropPath": "xyz789",
  "id": 123,
  "originalLanguage": "abc123",
  "originalTitle": "xyz789",
  "overview": "xyz789",
  "popularity": 987.65,
  "posterPath": "xyz789",
  "releaseDate": "abc123",
  "title": "xyz789",
  "voteAverage": 987.65,
  "voteCount": 123
}

SimilarTVShow

Description

Describes a Similar-TV-Show

Fields
Field Name Description
adult - Boolean Indicates if the Similar-TV-Show has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
id - Int! Similar-TV-Show id
originCountry - [String!]! Similar-TV-Show origin country
originalLanguage - String Similar-TV-Show original language
originalName - String Similar-TV-Show original name
overview - String Similar-TV-Show overview
popularity - Float Number indicating the popularity of the Similar-TV-Show
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
firstAirDate - String Similar-TV-Show first-air-date (MM-DD-YYYY)
name - String Similar-TV-Show name
voteAverage - Float Number indicating the average of votes for the Similar-TV-Show
voteCount - Int Number indicating how many votes the Similar-TV-Show has
Example
{
  "adult": true,
  "backdropPath": "xyz789",
  "id": 123,
  "originCountry": ["abc123"],
  "originalLanguage": "abc123",
  "originalName": "abc123",
  "overview": "abc123",
  "popularity": 987.65,
  "posterPath": "xyz789",
  "firstAirDate": "abc123",
  "name": "abc123",
  "voteAverage": 987.65,
  "voteCount": 123
}

String

Description

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example
"abc123"

TVShow

Description

Describes a TV-Show

Fields
Field Name Description
adult - Boolean Indicates if the TV-Show has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
createdBy - [CreatedBy!]! TV-Show creators
episodeRunTime - [Int!]! TV-Show runtime
firstAirDate - String TV-Show first-air-date (MM-DD-YYYY)
genres - [String!]! TV-Show genres
Arguments
language - ISO6391Language
homepage - String TV-Show homepage
id - Int! TV-Show id
inProduction - Boolean Indicates if the TV-Show is in production
languages - [String!]! TV-Show languages
lastAirDate - String TV-Show last-air-date (MM-DD-YYYY)
lastEpisodeToAir - LastEpisodeToAir TV-Show last episode to air
name - String TV-Show name
nextEpisodeToAir - String TV-Show next episode to air
networks - [Networks!]! TV-Show networks
numberOfEpisodes - Int TV-Show number of episodes
numberOfSeasons - Int TV-Show number of seasons
originCountry - [String!]! TV-Show origin countries
originalLanguage - String TV-Show original language
originalName - String TV-Show original name
overview - String TV-Show overview
popularity - Float Number indicating the popularity of the TV-Show
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
productionCompanies - [ProductionCompanies!]! TV-Show production companies
productionCountries - [String!]! TV-Show production countries
seasons - [Seasons!]! TV-Show seasons
spokenLanguages - [String!]! TV-Show spoken languages
status - String TV-Show status
tagline - String TV-Show tagline
type - String TV-Show type
voteAverage - Float Number indicating the average of votes for the TV-Show
voteCount - Int Number indicating how many votes the TV-Show has
images - [String!]! TV-Show images
Arguments
id - Int!
language - ISO6391Language
similar - [SimilarTVShow!]! Similar-TV-Shows
Arguments
id - Int!
language - ISO6391Language
videos - [MediaVideo!]! TV-Show videos
Arguments
id - Int!
language - ISO6391Language
cast - [MediaCast!]! TV-Show cast
crew - [MediaCrew!]! TV-Show crew
Example
{
  "adult": true,
  "backdropPath": "xyz789",
  "createdBy": [CreatedBy],
  "episodeRunTime": [987],
  "firstAirDate": "abc123",
  "genres": ["xyz789"],
  "homepage": "xyz789",
  "id": 987,
  "inProduction": true,
  "languages": ["abc123"],
  "lastAirDate": "xyz789",
  "lastEpisodeToAir": LastEpisodeToAir,
  "name": "abc123",
  "nextEpisodeToAir": "abc123",
  "networks": [Networks],
  "numberOfEpisodes": 123,
  "numberOfSeasons": 123,
  "originCountry": ["xyz789"],
  "originalLanguage": "abc123",
  "originalName": "xyz789",
  "overview": "abc123",
  "popularity": 987.65,
  "posterPath": "abc123",
  "productionCompanies": [ProductionCompanies],
  "productionCountries": ["xyz789"],
  "seasons": [Seasons],
  "spokenLanguages": ["abc123"],
  "status": "xyz789",
  "tagline": "abc123",
  "type": "abc123",
  "voteAverage": 987.65,
  "voteCount": 123,
  "images": ["abc123"],
  "similar": [SimilarTVShow],
  "videos": [MediaVideo],
  "cast": [MediaCast],
  "crew": [MediaCrew]
}

TVShowEpisodeCrew

Description

Describes the Crew-member of a TV-Show-Season-Episode

Fields
Field Name Description
job - String TV-Show-Season-Episode crew-member job
department - String Deparment in which the crew-member works (filming, acting, directing...)
creditId - String TV-Show-Season-Episode-Crew member id
adult - Boolean Indicates if the TV-Show-Season-Episode-Crew member member is adult
gender - Int TV-Show-Season-Episode-Crew member gender
id - Int! TV-Show-Season-Episode-Crew member id
knownForDepartment - String Department in which the TV-Show-Season-Episode-Crew member works (filming, acting...)
name - String TV-Show-Season-Episode-Crew member name
originalName - String TV-Show-Season-Episode-Crew member original name
popularity - Float Number indicating the popularity of the TV-Show-Season-Episode-Crew member
profilePath - String Profile image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Example
{
  "job": "abc123",
  "department": "xyz789",
  "creditId": "xyz789",
  "adult": true,
  "gender": 987,
  "id": 987,
  "knownForDepartment": "xyz789",
  "name": "abc123",
  "originalName": "xyz789",
  "popularity": 987.65,
  "profilePath": "abc123"
}

TVShowEpisodeGuestStar

Description

Describes the TV-Show-Episode guest-star of a TV-Show-Season-Episode

Fields
Field Name Description
character - String TV-Show-Season-Episode guest-star character
creditId - String TV-Show-Season-Episode guest-star credit-id
order - Int TV-Show-Season-Episode guest-star order
adult - Boolean Indicates if the TV-Show-Season-Episode is adult
gender - Int TV-Show-Season-Episode gender
id - Int! TV-Show-Season-Episode id
knownForDepartment - String Department in which the TV-Show-Season-Episode-Crew member works (filming, acting...)
name - String TV-Show-Season-Episode name
originalName - String TV-Show-Season-Episode original name
popularity - Float Number indicating the popularity of the TV-Show-Season-Episode-Crew member
profilePath - String Profile image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Example
{
  "character": "abc123",
  "creditId": "xyz789",
  "order": 987,
  "adult": false,
  "gender": 123,
  "id": 123,
  "knownForDepartment": "abc123",
  "name": "abc123",
  "originalName": "xyz789",
  "popularity": 123.45,
  "profilePath": "xyz789"
}

TVShowSeason

Description

Describes a TV-Show-Season

Fields
Field Name Description
_id - ID! TV-Show-Season id
airDate - String Tv-Show-Season air-date (MM-DD-YYYY)
episodes - [Episode!]! TV-Show-Season episodes
name - String TV-Show-Season name
overview - String TV-Show-Season overview
id - Int TV-Show-Season id
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
seasonNumber - Int TV-Show-Season number
voteAverage - Float Number indicating the average of votes for the Searched Movie
Example
{
  "_id": "4",
  "airDate": "xyz789",
  "episodes": [Episode],
  "name": "abc123",
  "overview": "abc123",
  "id": 123,
  "posterPath": "abc123",
  "seasonNumber": 123,
  "voteAverage": 987.65
}

TVShowSeasonInput

Description

Describes the Input used for TV-Show-Season-Details

Fields
Input Field Description
id - Int! TV-Show id
season - Int! TV-Show season
language - ISO6391Language Language in which the results should be presented
Example
{"id": 123, "season": 123, "language": "en"}

Thumbnail

Description

Describes the possible sizes of a Thumbnail

Fields
Field Name Description
extraSmall - String 120x90
small - String 320x180
medium - String 480x360
large - String 640x480
extraLarge - String 1280x720
Example
{
  "extraSmall": "xyz789",
  "small": "xyz789",
  "medium": "abc123",
  "large": "abc123",
  "extraLarge": "xyz789"
}

TrendingFamousItem

Description

Describes the item returned by the Trending-Famous

Fields
Field Name Description
adult - Boolean Indicates if the Actor/Actress is adult
gender - Int Department in which the Actor/Actress works (filming, acting...)
id - Int Actor/Actress id
knownFor - [TrendingFamousKnownFor!]! Movies and TV-Shows in which the Actor/Actress were in the cast
knownForDepartment - String Department in which the Actor/Actress works (filming, acting...)
name - String Actor/Actress name
popularity - Float Number indicating the popularity of the Actor/Actress
profilePath - String Profile image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
Example
{
  "adult": false,
  "gender": 123,
  "id": 987,
  "knownFor": [TrendingFamousKnownForTVShow],
  "knownForDepartment": "xyz789",
  "name": "xyz789",
  "popularity": 987.65,
  "profilePath": "abc123"
}

TrendingFamousKnownFor

Description

The Actor/Actress can be know for Movies or TV-Shows

Example
TrendingFamousKnownForTVShow

TrendingFamousKnownForMovie

Description

Describes the Trending-Famous-Known-For-Movie in which the trending Actor/Actress were in the known for

Fields
Field Name Description
adult - Boolean Indicates if the Trending-Famous-Known-For-Movie has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
genres - [String!]! Trending-Famous-Known-For-Movie genres
Arguments
language - ISO6391Language
id - Int!
mediaType - String For Movies, this value will always be 'movie'
originalLanguage - String Trending-Famous-Known-For-Movie original language
originalTitle - String Trending-Famous-Known-For-Movie title
overview - String Trending-Famous-Known-For-Movie overview
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
releaseDate - String Trending-Famous-Known-For-Movie first-air-date (MM-DD-YYYY)
title - String Trending-Famous-Known-For-Movie title
video - Boolean Indicates if the Trending-Famous-Known-For-Movie has some video
voteAverage - Float Number indicating the average of votes for the Trending-Famous-Known-For-Movie
voteCount - Int Number indicating how many votes the Trending-Famous-Known-For-Movie has
Example
{
  "adult": true,
  "backdropPath": "abc123",
  "genres": ["xyz789"],
  "id": 123,
  "mediaType": "abc123",
  "originalLanguage": "abc123",
  "originalTitle": "abc123",
  "overview": "xyz789",
  "posterPath": "xyz789",
  "releaseDate": "xyz789",
  "title": "abc123",
  "video": false,
  "voteAverage": 123.45,
  "voteCount": 123
}

TrendingFamousKnownForTVShow

Description

Describes the Trending-Famous-Known-For-TV-Show in which the trending Actor/Actress were in the known for

Fields
Field Name Description
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
firstAirDate - String Trending-Famous-Known-For-TV-Show first-air-date (MM-DD-YYYY)
genres - [String!]! Trending-Famous-Known-For-TV-Show genres
Arguments
language - ISO6391Language
id - Int! Trending-Famous-Known-For-TV-Show id
mediaType - String For TV-Shows, this value will always be 'tv-show'
name - String Trending-Famous-Known-For-TV-Show name
originCountry - [String!]! Trending-Famous-Known-For-TV-Show origin countries
originalLanguage - String Trending-Famous-Known-For-TV-Show original language
originalName - String Trending-Famous-Known-For-TV-Show original name
overview - String Trending-Famous-Known-For-TV-Show original overview
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
voteAverage - Float Number indicating the average of votes for the Trending-Famous-Known-For-TV-Show
voteCount - Int Number indicating how many votes the Trending-Famous-Known-For-TV-Show has
Example
{
  "backdropPath": "xyz789",
  "firstAirDate": "abc123",
  "genres": ["xyz789"],
  "id": 123,
  "mediaType": "xyz789",
  "name": "xyz789",
  "originCountry": ["xyz789"],
  "originalLanguage": "xyz789",
  "originalName": "abc123",
  "overview": "xyz789",
  "posterPath": "xyz789",
  "voteAverage": 123.45,
  "voteCount": 123
}

TrendingFamousResult

Description

Describes the results of a Search-Movie

Fields
Field Name Description
totalResults - Int! How many results will be returned
totalPages - Int! How many pages exists for the search
items - [TrendingFamousItem!]! Items returned by the search
hasMore - Boolean! Indicates if there is more items to be returned
Example
{
  "totalResults": 123,
  "totalPages": 123,
  "items": [TrendingFamousItem],
  "hasMore": false
}

TrendingMovie

Description

Describes a Trending-Movie

Fields
Field Name Description
adult - Boolean Indicates if the Trending Movie has the 'adult' classification
backdropPath - String Backdrop image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
genres - [String!]! Trending Movie genres
Arguments
language - ISO6391Language
id - Int Trending Movie id
originalLanguage - String Trending Movie original language
originalTitle - String Trending Movie original title
overview - String Trending Movie overview
popularity - Float Trending Movie popularity
posterPath - String Poster image - only the TMDB resource-id (e.g whNwkEQYWLFJA8ij0WyOOAD5xhQ.jpg)
releaseDate - String Trending Movie first-air-date (MM-DD-YYYY)
title - String Trending Movie title
video - Boolean Indicates if the Movie has some video
voteAverage - Float Number indicating the average of votes for the Trending Movie
voteCount - Int Number indicating how many votes the Trending Movie has
Example
{
  "adult": true,
  "backdropPath": "xyz789",
  "genres": ["xyz789"],
  "id": 987,
  "originalLanguage": "abc123",
  "originalTitle": "abc123",
  "overview": "abc123",
  "popularity": 987.65,
  "posterPath": "xyz789",
  "releaseDate": "xyz789",
  "title": "xyz789",
  "video": true,
  "voteAverage": 987.65,
  "voteCount": 987
}

TrendingMovies

Description

Describes the Trending-Movies charts

Fields
Field Name Description
nowPlaying - [TrendingMovie!]! Now playing Movies
Arguments
language - ISO6391Language
popular - [TrendingMovie!]! Popular Movies
Arguments
language - ISO6391Language
topRated - [TrendingMovie!]! Top rated Movies
Arguments
language - ISO6391Language
upcoming - [TrendingMovie!]! Upcoming Movies
Arguments
language - ISO6391Language
Example
{
  "nowPlaying": [TrendingMovie],
  "popular": [TrendingMovie],
  "topRated": [TrendingMovie],
  "upcoming": [TrendingMovie]
}

TrendingTVShow

Fields
Field Name Description
backdropPath - String
firstAirDate - String
genres - [String!]!
Arguments
language - ISO6391Language
id - Int
name - String
originCountry - [String!]!
originalLanguage - String
originalName - String
overview - String
popularity - Float
posterPath - String
voteAverage - Float
voteCount - Int
Example
{
  "backdropPath": "xyz789",
  "firstAirDate": "xyz789",
  "genres": ["xyz789"],
  "id": 123,
  "name": "abc123",
  "originCountry": ["xyz789"],
  "originalLanguage": "xyz789",
  "originalName": "xyz789",
  "overview": "xyz789",
  "popularity": 987.65,
  "posterPath": "abc123",
  "voteAverage": 987.65,
  "voteCount": 987
}

TrendingTVShows

Description

Describes the Trending-TV-Shows charts

Fields
Field Name Description
airingToday - [TrendingTVShow!]! TV-Shows airing today
Arguments
language - ISO6391Language
onTheAir - [TrendingTVShow!]! TV-Shows on the air
Arguments
language - ISO6391Language
popular - [TrendingTVShow!]! Popular TV-Shows
Arguments
language - ISO6391Language
topRated - [TrendingTVShow!]! Top rated TV-Shows
Arguments
language - ISO6391Language
Example
{
  "airingToday": [TrendingTVShow],
  "onTheAir": [TrendingTVShow],
  "popular": [TrendingTVShow],
  "topRated": [TrendingTVShow]
}