feedbin / feedbin-api

Feedbin API Documentation
349 stars 26 forks source link

Feature Request: Remove Pagination when fetching Saved Searches' entry IDs only. #56

Closed kunalsood closed 3 years ago

kunalsood commented 3 years ago

Please consider removing the requirement to paginate when getting a Saved Search's entry IDs using eg. GET /v2/saved_searches/1.json with include_entries: set to false.

In my testing, a simple saved search has more than 100k result count, requiring my offline-first client to send more than 1000 requests to just get entry IDs of entries I already have locally cached.

benubois commented 3 years ago

This should be improved now.

The intent with the saved_searches API is not to be exhaustive. I don't think 100k results would have much utility.

The API previously limited the number of result pages to 5, but the counts and pages headers did not match this.

The new system will return the most recent/top 1,000 ids with no pages, unless include_entries=true is set.

Thanks!