mirror of
https://github.com/KevinMidboe/moviedb.git
synced 2025-10-29 17:50:25 +00:00
Merge pull request #4 from cristiandouce/endpointsUpdate
updated API v3 endpoints.json
This commit is contained in:
@@ -10,10 +10,15 @@
|
|||||||
}
|
}
|
||||||
, "search" : {
|
, "search" : {
|
||||||
"Movie" : { "resource": "search/movie", "method": "get" }
|
"Movie" : { "resource": "search/movie", "method": "get" }
|
||||||
|
, "Collection" : { "resource": "search/collection", "method": "get" }
|
||||||
, "Person" : { "resource": "search/person", "method": "get" }
|
, "Person" : { "resource": "search/person", "method": "get" }
|
||||||
|
, "List" : { "resource": "search/list", "method": "get" }
|
||||||
|
, "Company" : { "resource": "search/company", "method": "get" }
|
||||||
|
, "Keyword" : { "resource": "search/keyword", "method": "get" }
|
||||||
}
|
}
|
||||||
, "collection" : {
|
, "collection" : {
|
||||||
"Info" : { "resource": "collection/:id", "method": "get" }
|
"Info" : { "resource": "collection/:id", "method": "get" }
|
||||||
|
, "Images" : { "resource": "collection/:id/images", "method": "get" }
|
||||||
}
|
}
|
||||||
, "movie" : {
|
, "movie" : {
|
||||||
"Info" : { "resource": "movie/:id", "method": "get" }
|
"Info" : { "resource": "movie/:id", "method": "get" }
|
||||||
@@ -25,18 +30,27 @@
|
|||||||
, "Trailers" : { "resource": "movie/:id/trailers", "method": "get" }
|
, "Trailers" : { "resource": "movie/:id/trailers", "method": "get" }
|
||||||
, "Translations" : { "resource": "movie/:id/translations", "method": "get" }
|
, "Translations" : { "resource": "movie/:id/translations", "method": "get" }
|
||||||
, "Similar" : { "resource": "movie/:id/similar_movies", "method": "get" }
|
, "Similar" : { "resource": "movie/:id/similar_movies", "method": "get" }
|
||||||
|
, "Lists" : { "resource": "movie/:id/lists", "method": "get" }
|
||||||
|
, "Changes" : { "resource": "movie/:id/changes", "method": "get" }
|
||||||
|
, "RatingUpdate" : { "resource": "movie/:id/rating", "method": "post" }
|
||||||
}
|
}
|
||||||
, "person" : {
|
, "person" : {
|
||||||
"Info" : { "resource": "person/:id", "method": "get" }
|
"Info" : { "resource": "person/:id", "method": "get" }
|
||||||
, "Credits" : { "resource": "person/:id/credits", "method": "get" }
|
, "Credits" : { "resource": "person/:id/credits", "method": "get" }
|
||||||
, "Images" : { "resource": "person/:id/images", "method": "get" }
|
, "Images" : { "resource": "person/:id/images", "method": "get" }
|
||||||
|
, "Changes" : { "resource": "person/:id/changes", "method": "get" }
|
||||||
|
, "Latest" : { "resource": "person/latest", "method": "get" }
|
||||||
}
|
}
|
||||||
, "misc" : {
|
, "list" : {
|
||||||
"LatestMovie" : { "resource": "latest/movie", "method": "get" }
|
"Info" : { "resource": "list/:id", "method": "get" }
|
||||||
, "NowPlaying" : { "resource": "movie/now-playing", "method": "get" }
|
}
|
||||||
, "PopularMovies" : { "resource": "movie/popular", "method": "get" }
|
, "genre" : {
|
||||||
, "TopRatedMovies" : { "resource": "movie/top-rated", "method": "get" }
|
"List" : { "resource": "genre/list", "method": "get" }
|
||||||
, "AddMovieRating" : { "resource": "movie/:id/rating", "method": "post" }
|
, "Movies" : { "resource": "genre/:id/movies", "method": "get" }
|
||||||
|
}
|
||||||
|
, "keyword" : {
|
||||||
|
"Info" : { "resource": "keyword/:id", "method": "get" }
|
||||||
|
, "Movies" : { "resource": "keyword/:id/movies", "method": "get" }
|
||||||
}
|
}
|
||||||
, "company" : {
|
, "company" : {
|
||||||
"Info" : { "resource": "company/:id", "method": "get" }
|
"Info" : { "resource": "company/:id", "method": "get" }
|
||||||
@@ -44,9 +58,21 @@
|
|||||||
}
|
}
|
||||||
, "account" : {
|
, "account" : {
|
||||||
"Info" : { "resource": "account", "method": "get" }
|
"Info" : { "resource": "account", "method": "get" }
|
||||||
|
, "Lists" : { "resource": "account/:id/lists", "method": "get" }
|
||||||
, "FavoriteMovies" : { "resource": "account/:id/favorite_movies", "method": "get" }
|
, "FavoriteMovies" : { "resource": "account/:id/favorite_movies", "method": "get" }
|
||||||
|
, "FavoriteUpdate" : { "resource": "account/:id/favorite", "method": "post" }
|
||||||
, "RatedMovies" : { "resource": "account/:id/rated_movies", "method": "get" }
|
, "RatedMovies" : { "resource": "account/:id/rated_movies", "method": "get" }
|
||||||
, "AddFavorite" : { "resource": "account/:id/favorite", "method": "post" }
|
, "MovieWatchlist" : { "resource": "account/:id/movie_watchlist", "method": "get" }
|
||||||
|
, "MovieWatchlistUpdate" : { "resource": "account/:id/movie_watchlist", "method": "post" }
|
||||||
}
|
}
|
||||||
|
, "misc" : {
|
||||||
|
"LatestMovies" : { "resource": "movie/latest", "method": "get" }
|
||||||
|
, "UpcomingMovies" : { "resource": "movie/upcoming", "method": "get" }
|
||||||
|
, "NowPlayingMovies" : { "resource": "movie/now_playing", "method": "get" }
|
||||||
|
, "PopularMovies" : { "resource": "movie/popular", "method": "get" }
|
||||||
|
, "TopRatedMovies" : { "resource": "movie/top_rated", "method": "get" }
|
||||||
|
, "ChangedMovies" : { "resource": "movie/changes", "method": "get" }
|
||||||
|
, "ChangedPeople" : { "resource": "person/changes", "method": "get" }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user