Questions tagged [paging]
For questions related to the use of paging (returning a limited number of results, and using a page parameter to get the next batch) in the Stack Exchange API.
8 questions
7
votes
2
answers
638
views
After successfully retrieving 180 pages, the API gracelessly, semi-silently, fails
I'm trying to synchronize tags using the Stack Exchange API and this works for about 180 pages, but around 180 pages it always ends with an exception that seems to indicate that there is no HTTP ...
2
votes
1
answer
384
views
How can I retrieve more than 25 pages from the Stack Exchange API v2.3?
I'm trying to find a way to retrieve all the results from a search query from the Stack Exchange API v2.3. My use case includes more than 25 pages (I already use the maximum page size of 100).
The ...
3
votes
1
answer
123
views
Paging fails at 10K items for /search on any site but Stack Overflow
There's a problem with requesting more than 10,000 items.
With Stack Overflow it works just fine.
But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,...
1
vote
1
answer
113
views
The API is not returning a value that I know it should
My "Meta Stack Overflow" site details are not listed in the API, when I use meta_site;main_site in the types parameter. See:
/2.2/users/2855348/associated?types=meta_site;...
1
vote
1
answer
67
views
Paging issue: is /users/{ids}/associated API route returning incomplete information?
When querying to find associated accounts for a list of account ids, some ids in the results appear to be missing many of the associated sites. I have only observed this in multi-page responses. For ...
4
votes
1
answer
78
views
Limiting the number of items returned by a request?
How can I limit the amount of items returned to me when performing an API call?
I only want the top 10 most commonly used tags, by default I'm sent back 30. EG:
api.stackexchange.com/2.2/tags?order=...
1
vote
1
answer
106
views
Abstract paged results to enable cleaner libraries
It would make great sense for paged results array property to have a common name, items perhaps.
For those writing in languages that support 'generic' constructs, this would simplify the code ...
2
votes
1
answer
133
views
How do I fetch one question at a time starting from the latest?
I'm trying to fetch questions one by one, starting from the latest, so that I can create an infinite stream of questions in a Clojure program. I haven't yet been able to do so.
I can't just get the ...