-
Notifications
You must be signed in to change notification settings - Fork 0
Description
While web version uses
?after=<tag_name>, API v3 seems allows onlyper_page / pagerequests.
Thus we can't just use {location.search} as it was presented in data.Alternatively we can of course request to each separate tag/release, BUT!
In fact this means toooo many requests to API:
(unauthenticated: 60 requests per hour / authenticated: 5000 requests per hour)TODO: Efficient alternative to
?after=<tag_name>.
Current implementation will use only single request via pagination to the first 100 records.
Others requires at least N requests to N page when no related info from web version, eg.:
(100 records page1) -> failed -> (100 records page2) -> failed -> (100 records page3) -> success;
Any
afterparam such/releases?after=v1.6.1will indicate to the page != 1
But web version uses 10 records per page. That will not help us detect page 11 for the next 100 records.
Anyway, the other records can be processed through individual/releases/tags/:tag