Files
moviedb/lib/endpoints.json
2012-08-14 13:26:00 -04:00

53 lines
2.5 KiB
JSON

{
"base_url": "http://api.themoviedb.org/3/"
, "authentication" : {
"requestToken" : "authentication/token/new"
, "sessionId" : "authentication/session/new"
}
, "methods" : {
"configuration" : {
"": { "resource":"configuration", "method": "get" }
}
, "search" : {
"Movie" : { "resource": "search/movie", "method": "get" }
, "Person" : { "resource": "search/person", "method": "get" }
}
, "collection" : {
"Info" : { "resource": "collection/:id", "method": "get" }
}
, "movie" : {
"Info" : { "resource": "movie/:id", "method": "get" }
, "AlternativeTitles" : { "resource": "movie/:id/alternative_titles", "method": "get" }
, "Casts" : { "recource": "movie/:id/casts", "method": "get" }
, "Images" : { "resource": "movie/:id/images", "method": "get" }
, "Keywords" : { "resource": "movie/:id/keywords", "method": "get" }
, "Releases" : { "resourse":"movie/:id/releases", "method": "get" }
, "Trailers" : { "resource": "movie/:id/trailers", "method": "get" }
, "Translations" : { "resource": "movie/:id/translations", "method": "get" }
, "Similar" : { "resource": "movie/:id/similar_movies", "method": "get" }
}
, "person" : {
"Info" : { "resource": "person/:id", "method": "get" }
, "Credits" : { "resource": "person/:id/credits", "method": "get" }
, "Images" : { "resource": "person/:id/images", "method": "get" }
}
, "misc" : {
"LatestMovie" : { "resource": "latest/movie", "method": "get" }
, "NowPlaying" : { "resource": "movie/now-playing", "method": "get" }
, "PopularMovies" : { "resource": "movie/popular", "method": "get" }
, "TopRatedMovies" : { "resource": "movie/top-rated", "method": "get" }
, "AddMovieRating" : { "resource": "movie/:id/rating", "method": "post" }
}
, "company" : {
"Info" : { "resource": "company/:id", "method": "get" }
, "Movies" : { "resource": "company/:id/movies", "method": "get" }
}
, "account" : {
"Info" : { "resource": "account", "method": "get" }
, "FavoriteMovies" : { "resource": "account/:id/favorite_movies", "method": "get" }
, "RatedMovies" : { "resource": "account/:id/rated_movies", "method": "get" }
, "AddFavorite" : { "resource": "account/:id/favorite", "method": "post" }
}
}
}