Difference between revisions of "UserTags"
Jump to navigation
Jump to search
| Line 47: | Line 47: | ||
|Example= | |Example= | ||
| + | |||
{ | { | ||
| − | + | : TaggedContentID: movieID001, | |
| − | + | : Tags: [ | |
| − | + | :: Array of [[Tag]] | |
| − | + | : ], | |
| − | + | : ResumeValue: -1 (''already "completed'"''), | |
| − | + | : TaggedContent: [[SimpleMovie]] object | |
| − | + | :}, | |
| − | |||
| − | : | ||
| − | |||
| − | :Array of [ | ||
| − | :ResumeValue: -1 (''already "completed'"''), | ||
| − | :TaggedContent | ||
| − | |||
| − | :} | ||
:{ | :{ | ||
| − | :TaggedContentID: movieID008, | + | : TaggedContentID: movieID008, |
| − | :Array of [ | + | : Tags: [ |
| − | :ResumeValue: 43154 (int) ''(represents the time already watched)'', | + | :: Array of [[Tag]] |
| − | :TaggedContent | + | : ], |
| − | + | : ResumeValue: 43154 (int) ''(represents the time already watched)'', | |
| − | + | : TaggedContent: [[SimpleMovie]] object | |
} | } | ||
Revision as of 18:00, 24 March 2015
UserTags are structured objects used to represent contents (movies, series...) along with their tags (watched, completed, favorite, etc.). This struct is a key object in the MyTv features, which shows lists of tagged user contents
Members
| Field | Data Type | Description |
|---|---|---|
| TaggedContentID | int | Movie ID (in the case of series -follow-up feature- it will be the ID of the "movie" object -of series type- referring the whole series, not the ID of the SimpleMovie returned "below" in the TaggedContent) |
| Tags | Array of Tag | Array of tags for the object (for example, a movie may have tags "watched (3)" (true) + "completed (6)" (true)), including the creation date |
| ResumeValue | int | It will contain the resume time value (for objects with "watched" started but not totally "completed"), or "-1" if completed.
|
| TaggedContent | SimpleMovie |
|
Example
{
- TaggedContentID: movieID001,
- Tags: [
- Array of Tag
- ],
- ResumeValue: -1 (already "completed'"),
- TaggedContent: SimpleMovie object
- },
- {
- TaggedContentID: movieID008,
- Tags: [
- Array of Tag
- ],
- ResumeValue: 43154 (int) (represents the time already watched),
- TaggedContent: SimpleMovie object
}
Known issues
None
Version history
| API Version Number | Change description | Changes author |
|---|---|---|
| 3.0 | Initial data type implementation | Jose A. Jiménez |