Content API. Serials
NOTE
* - required fields
Serial
Field name | Type | Description |
---|---|---|
id | string* | The unique ID of the serial |
contentType | MediaContentType* | Type of the content. (More detailed) |
title | string* | Serial title |
description | string* | Serial description |
year | number* | The year of the serial's premiere |
release_date | Date | Release date of the digital edition |
age_limit | number* | Age limit on watching a serial |
countries | Country[] | Countries that took part in the shooting of the serial |
actors | Actor[] | Actors who starred in the serial |
directors | Director[] | Directors of the serial |
genres | Genre[]* | Genres that the serial corresponds to |
poster | string* | Link to the image used as a poster |
background | string* | Link to the image used as a cover |
imdb_rating | float | Rating of the serial on IMDB |
imdb_vote_count | number | The number of people who rated the serial on IMDB |
kinopoisk_rating | float | Rating of the serial on Kinopoisk |
kinopoisk_vote_count | number | The number of people who rated the serial on Kinopoisk |
seasons | Season[]* | List of seasons of this serial |
Details response
{
id: string;
contentType: MediaContentType;
// Content info fields
title: string;
description: string;
year: number;
release_date: Date;
age_limit: number;
countries?: Country[];
actors?: Actor[],
directors?: Director[],
genres: Genre[],
poster: string,
background: string,
// Rating fields
imdb_rating?: float,
imdb_vote_count?: number,
kinopoisk_rating?: float,
kinopoisk_vote_count?: number,
seasons: Season[],
}
Season
Field name | Type | Description |
---|---|---|
id | string* | The unique ID of the season |
contentType | MediaContentType* | Type of the content. (More detailed) |
title | string* | Season title |
description | string | Season description |
year | number* | The year of the season's premiere |
release_date | Date | Release date of the digital edition |
age_limit | number | Age limit on watching a season |
countries | Country[] | Countries that took part in the shooting of the season |
actors | Actor[] | Actors who starred in the season |
directors | Director[] | Directors of the season |
genres | Genre[] | Genres that the season corresponds to |
poster | string* | Link to the image used as a poster |
background | string* | Link to the image used as a cover |
imdb_rating | float | Rating of the season on IMDB |
imdb_vote_count | number | The number of people who rated the season on IMDB |
kinopoisk_rating | float | Rating of the season on Kinopoisk |
kinopoisk_vote_count | number | The number of people who rated the season on Kinopoisk |
episodes | Episode[]* | List of episodes of this season |
Details response
{
id: string;
contentType: MediaContentType;
// Content info fields
title: string;
description?: string;
year: number;
release_date?: Date;
age_limit?: number;
countries?: Country[];
actors?: Actor[],
directors?: Director[],
genres?: Genre[],
poster: string,
background: string,
// Rating fields
imdb_rating?: float,
imdb_vote_count?: number,
kinopoisk_rating?: float,
kinopoisk_vote_count?: number,
episodes: Episode[],
}
Episode
Field name | Type | Description |
---|---|---|
id | string* | The unique ID of the episode |
contentType | MediaContentType* | Type of the content. (More detailed) |
title | string* | Episode title |
description | string | Episode description |
year | number | The year of the episode's premiere |
release_date | Date* | Release date of the episode |
age_limit | number | Age limit on watching a episode |
countries | Country[] | Countries that took part in the shooting of the episode |
actors | Actor[] | Actors who starred in the episode |
directors | Director[] | Directors of the episode |
genres | Genre[] | Genres that the episode corresponds to |
poster | string | Link to the image used as a poster |
background | string | Link to the image used as a cover |
imdb_rating | float | Rating of the episode on IMDB |
imdb_vote_count | number | The number of people who rated the episode on IMDB |
kinopoisk_rating | float | Rating of the episode on Kinopoisk |
kinopoisk_vote_count | number | The number of people who rated the episode on Kinopoisk |
source | string* | Link to .m3u8 playlist |
preview | string* | Link to the first frame of the video file |
duration | string* | Duration of the video episode |
Details response
{
id: string;
contentType: MediaContentType;
// Content info fields
title: string;
description?: string;
year?: number;
release_date: Date;
age_limit?: number;
countries?: Country[];
actors?: Actor[],
directors?: Director[],
genres?: Genre[],
poster?: string,
background?: string,
// Rating fields
imdb_rating?: float,
imdb_vote_count?: number,
kinopoisk_rating?: float,
kinopoisk_vote_count?: number,
// Media source fields
source: string,
preview: string,
duration: number,
}