Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2132

Accept offset parameter for API calls

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              heaje Corey Shaw
              Votes:
              16 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated: