Content API. Movie
Field name | Type | Description |
---|---|---|
id | string* | The unique ID of the movie |
contentType | MediaContentType* | Type of the content. (More detailed) |
title | string* | Movie title |
description | string* | Movie description |
year | number* | The year of the movie's premiere |
release_date | Date | Release date of the digital edition |
age_limit | number* | Age limit on watching a movie |
countries | Country[] | Countries that took part in the shooting of the movie |
actors | Actor[] | Actors who starred in the movie |
directors | Director[] | Directors of the movie |
genres | Genre[]* | Genres that the film 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 movie on IMDB |
imdb_vote_count | number | The number of people who rated the movie on IMDB |
kinopoisk_rating | float | Rating of the movie on Kinopoisk |
kinopoisk_vote_count | number | The number of people who rated the movie 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 movie |
NOTE
* - required fields
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,
}