Difference between revisions of "Movie"
Jump to navigation
Jump to search
Line 130: | Line 130: | ||
{{!}} int | {{!}} int | ||
{{!}} Set the episode order that wants to be returned the content. | {{!}} Set the episode order that wants to be returned the content. | ||
+ | {{!}}- valign="top" | ||
+ | |||
+ | ! OriginalTitle | ||
+ | {{!}} String | ||
+ | {{!}} bgcolor="#00FF00" {{!}} '''PROPOSED FOR 3.0'''. Original title of the movie | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
Line 233: | Line 238: | ||
: "Type": 1, | : "Type": 1, | ||
: "Title": "_Bem-vindo ao canal Adulto", | : "Title": "_Bem-vindo ao canal Adulto", | ||
+ | : "OriginalTitle": "Welcome to Adult channel", | ||
: "Duration": 60, | : "Duration": 60, | ||
: "ReleaseDate": 1325372400, | : "ReleaseDate": 1325372400, | ||
Line 305: | Line 311: | ||
{{!}} Initial data type implementation | {{!}} Initial data type implementation | ||
{{!}} Harley Cabral | {{!}} Harley Cabral | ||
+ | {{!}}- valign="top" | ||
+ | |||
+ | ! bgcolor="#00FF00" 3.0 | ||
+ | {{!}} Added original title of the movie | ||
+ | {{!}} | ||
{{!}}- valign="top" | {{!}}- valign="top" | ||
Revision as of 15:47, 28 January 2015
Movie is an object that represent a Movie registered in the platform to get all data information about a movie. Similar to SimpleMovie object, this method has user data information as CanWatch and Access rights.
Members
Field | Data Type | Description |
---|---|---|
AFTDQualities | int | |
AgeRating | InstanceAgeRating | An object that contains all information about the ageRatings of the movie returned. |
AssetType | AssetType | |
AvailableForThisDevice | bool | Set if the movie is available for the device from the currently request (device logged for the request). |
AvailableForThisDeviceInHD | bool | Set if the movie is available for the device in HD mode in currently request (device logged for the request). |
AvailableForThisDeviceInSD | bool | Set if the movie is available for the device in SD mode in currently request (device logged for the request). |
BestMediaToPlay | int | |
CanAcquire | int | |
CanWatch | AccessReason | |
ChildrenCount | int | |
CommercializationType | CommercializationType | An object represented by a number type (enumeration) that represent a type as the product is commercialised. |
Description | String | |
Distributor | Distributor | An object represented by a number type (enumeration) that represent a type as the product is distributed. |
Duration | int | A number that represent the time duration of the movie expressed in seconds. |
Genres | Genre | An object that contains an array of Genre object assigned to movie. |
HaveVoDAccess | bool | |
ID | int | A unique identifier for the movie |
Images | Array of Image | Array of Image object registered in the platform. |
ImdbRating | double | |
IsDtp | bool | Set if the movie is available to be downloaded and play offline. |
LicenseEnd | long | |
LicenseStart | long | |
Medias | Media | Array of Media object that contains a series of information about the movie's media. |
OrderEpisode | int | Set the episode order that wants to be returned the content. |
OriginalTitle | String | PROPOSED FOR 3.0. Original title of the movie |
PlaybackAccess | PlaybackRight | A number that indicate a kind of right the user has rights access. |
Producer | Producer | An object that represent the producer of the movie. |
ReleaseDate | long | |
RequiresPin | bool | Set if the PIN is necessary to access the movie and playback. |
ResizableImages | Array of Image | |
SeasonId | int | If a movie is a part of Season (an Episode), the season id gonna come here to indicate which season's parent. |
SeriesId | int | If a movie is a part of Series (an Season), the series id gonna come here to indicate which season's parent. |
ShortDescription | String | A short description about the movie. |
Source | int | |
Staff | Array of MovieStaff object | |
Stars | double | The average of rating stars all user classify a movie. |
Subtitles | Subtitle | Array of Subtitle object. |
Tags | ProductTag | |
Title | String | A string that represent a name of the movie. |
Trailers | Media | |
Type | MovieType | Enumerate that represents a kind of movie is the content. It can be |
Views | int | Number of view the content has been visualised. |
Year | int | A year of the movie. |
Example
{
- "ID": 13939,
- "SeriesId": 0,
- "SeasonId": 0,
- "Type": 1,
- "Title": "_Bem-vindo ao canal Adulto",
- "OriginalTitle": "Welcome to Adult channel",
- "Duration": 60,
- "ReleaseDate": 1325372400,
- "Year": 0,
- "Genres": [
- Array of Genre objects
- ],
- "ImdbRating": 0,
- "AgeRating": {
- InstanceAgeRating object
- },
- "Stars": 2.81818181818182,
- "Views": 235,
- "Description" : "Bem vindo ao canal ...",
- "ShortDescription": "Bem-vindo ao canal ...",
- "Images": [
- Array of Image object
- ],
- "ResizableImages": [
- Array of Image object
- ],
- "Staff" : [],
- "Medias": [
- Array of Media
- ],
- "Trailers" : [],
- "Subtitles": [
- Array of Subtitle object
- ],
- "RequiresPin": true,
- "Tags" : [],
- "CanWatch" : {
- CanWatch object
- },
- "CanAquire": false,
- "HaveVoDAccess": false,
- "ChildrenCount": 0,
- "AvailableForThisDevice": true,
- "AFTDQualities": 2,
- "AvailableForThisDeviceInHD": true,
- "AvailableForThisDeviceInSD": true,
- "OrderEpisode": 0,
- "LicenseStart": 1372636800,
- "LicenseEnd": 1419984000,
- "Source": 79,
- "PlaybackAccess": 2,
- "BestMediaToPlay": 55793,
- "IsDtp": false,
- "Distributor": {
- Distributor object
- },
- "CommercializationType": 4,
- "Producer": {
- }
}
Known issues
None
Version history
API Version Number | Change description | Changes author |
---|---|---|
1.0 | Initial data type implementation | Harley Cabral |
bgcolor="#00FF00" 3.0 | Added original title of the movie |