Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • None
    • None
    • API
    • None

    Description

      In the API documentation api-doc I did not find a way to limit the search result for each endpoint. For example only 10 records should be returned.
      Is there any way to pass a parameter (like count) for each endpoint to limit the result set (see screenshot)?

      Thanks in advance.

      Attachments

        Activity

          [OBS-4345] Limit resultset of

          I've also added pagesize&pageno support to the sensors and address endpoints as they seem to need it the most.

          adama Adam Armstrong added a comment - I've also added pagesize&pageno support to the sensors and address endpoints as they seem to need it the most.

          I've added pagination and db field limiting to the ports endpoint, for example:

          /api/v0/ports/?pagesize=100&pageno=2&fields=port_id,port_label

          adama Adam Armstrong added a comment - I've added pagination and db field limiting to the ports endpoint, for example: /api/v0/ports/?pagesize=100&pageno=2&fields=port_id,port_label

          People

            adama Adam Armstrong
            k671634 Younes Zayakh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: