This API is used to filter out a subset of all the items (VoDs or Series) based on the value of a specific tag.
It returns an array of JSON objects of all the items that meet the filtering criteria.
Sample tags on which filtering can be done are:
category,
title,
genres,
cast,
directors,
storylines,
ageGroup,
qualities,
moods,
details
….
etc.
To call the API, replace the “TAG_NAME” with the name of tag on which to filter (e.g. title) and pass the required value to match.
This API can also be used to create a random shelf based on the tags used for filtering.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
{ channel: "the", items: [ { id: "6138", title: "Lea to the Rescue", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/lea_to_the_rescue_2016/small-cover.jpg" }, { id: "6126", title: "The Evil in Us", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/the_evil_in_us_2016/small-cover.jpg" }, { id: "6124", title: "The Hatching", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/the_hatching_2016/small-cover.jpg" }, { id: "6096", title: "The Infiltrator", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/the_infiltrator_2016/small-cover.jpg" }, { id: "6094", title: "Alice Through the Looking Glass", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/alice_through_the_looking_glass_2016/small-cover.jpg" }, { id: "6083", title: "Hunt for the Wilderpeople", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/hunt_for_the_wilderpeople_2016/small-cover.jpg" }, { id: "6082", title: "The Purge: Election Year", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/the_purge_election_year_2016/small-cover.jpg" }, { id: "6079", title: "The Legend of Tarzan", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/the_legend_of_tarzan_2016/small-cover.jpg" }, { id: "6070", title: "The Neon Demon", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/the_neon_demon_2016/small-cover.jpg" }, { id: "6040", title: "The Shallows", type: "vod", thumbnail: "http://demo.junctiontv.com/assets/images/movies/the_shallows_2016/small-cover.jpg" } ] } |
1 2 3 4 5 |
{ result: "error", message: "UNAUTHORIZED", reason: "No Authorization Token" } |
To see how to get access token - (see Getting Access Tokens)
HTTP Status 404