-
Change Request
-
Resolution: Unresolved
-
Trivial
-
None
-
2.2.1
While it is useful to have the "limit" parameter in API requests, it's use would be greatly enhanced if an "offset" parameter existed as well. Let's say I have 10,000 history rows to retrieve through the API. It would make sense to not only be able to limit the result to 2000 rows at a time, but also submit an offset that so that I can first get the first 2000, then the next 2000, etc.
I created a patch to do this in 2.2.x and it was a trivial addition to add it only for history.get. I'm not sure what would have to be done to add it everywhere.
- is duplicated by
-
ZBXNEXT-1082 API should support pagination
- Closed
-
ZBXNEXT-4989 offset parameter for API calls - New Ticket !!
- Closed
(1 mentioned in)