Closed endquote closed 3 years ago
Adding to this issue: Fetching anything beyond page number 5 (for saved search https://api.feedbin.com/v2/saved_searches/10159.json
that returned last
page number of 22
, and X-Feedbin-Record-Count
of 2113
in the first page) results in an empty response & Status Code: 200.
Additionally, fetching anything beyond page number 100 (for saved search https://api.feedbin.com/v2/saved_searches/10161.json
that returned last
page number of 1080
, and X-Feedbin-Record-Count
of 107994
in the first page) results in Status Code: 500.
So, as it stands right now, with the Saved Searches endpoints, we can only fetch the first 5 pages max. Pages 6-100 return empty responses, and pages 101 & above return 500 Internal Server Error.
This should be fixed now see #56.
I'm noticing that the
links
header doesn't always appear when it should.For example when I load a search from
https://api.feedbin.com/v2/saved_searches/8259.json
, thelinks
header says:<https://api.feedbin.com/v2/saved_searches/8259.json?page=2>; rel="next", <https://api.feedbin.com/v2/saved_searches/8259.json?page=23>; rel="last"
So it looks like there are 23 pages. If I load each page, I notice that the header disappears at page 6:
So in my code I'm only looking at the header the first time, and counting up to the "last" value.