[API Update] Feeds endpoint contains vote and badge objects in topics

3 views
Skip to first unread message

Josh Wu

unread,
Jun 10, 2011, 6:41:19 PM6/10/11
to misoapi
Added support for Feeds created from pick ems and badge awards. Below
is an example of the json response containing the newly added objects:

Badge:
------------------------

topics : {
media : {
poster_image_url : "http://localhost: 3000/images/
media_placeholder.png",
release_year : null,
title : "Camelot (2011)",
poster_image_url_small : "http://localhost: 3000/images/
media_placeholder.png",
tvdb_id : null,
id : 93474,
kind : "TvShow"
},
badge : {
tagline : "From commoner to King, do you have what it takes to
rebuild the kingdom?",
graphic_url : "http://localhost: 3000/uploads/
BAhbCFsHOgZmIiEyMDExLzAzLzMxLzE0LzA2LzEwLzQ5NC9maWxlWwc6BmU6CHBuZ1sIOgZwOgp0aHVtYiILNjd4Njc
+.png",
category : "Featured",
name : "Arthur",
id : 227
}
},

Vote:
------------------------

topics : {
media : {
poster_image_url : "http://assets.gomiso.com/thetvdb/series/73255/
poster.jpg",
release_year : 2004,
title : "House M.D.",
poster_image_url_small : "http://assets.gomiso.com/thetvdb/series/
73255/poster_iphone.jpg",
tvdb_id : "73255",
id : 6363,
kind : "TvShow"
},
vote : {
question : "best city in the world",
pick : "SF",
answer_prefix : "picked",
image_url : "http://localhost: 3000/uploads/
BAhbCFsHOgZmIicyMDExLzA1LzA1LzE4LzMwLzE5Lzg0Ni9kb251dDMucG5nWwc6BmU6CHBuZ1sIOgZwOgp0aHVtYiILNTl4NTkj.png",
answer_suffix : "as their favorite city"
}
},

=========

Added seasons and seasons_count attribute for the episodes endpoint:

eg. For Lost:
{
episodes : [
{
episode : {
poster_image_url : "http://localhost: 3000/images/
episode_placeholder.png",
title : "The End (2)",
..........} .... ],
season_count : 7,
seasons : [
0,
1,
2,
3,
4,
5,
6
]
}
Reply all
Reply to author
Forward
0 new messages