Limit pages on Solr requests (top rated, popular, now playing, upcoming)
-
Travis Bell
- State changed from new to started
-
Travis Bell
- State changed from started to resolved
-
Michael Roterman
How does this change affect implementations, should pages above a certain number throw an exception or is a specific message sent back from the API?
-
Travis Bell
As per the documentation, the max page count we support is 1000. You'll be able to see all of the possible error codes when I get ticket #352 Add a list of status codes to the documentation completed. It's scheduled for today.
In the meantime if you were curious, make a request to page 1001:
http://api.themoviedb.org/3/movie/popular?api_key=###&page=1001
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.