Uploaded image for project: 'Magnolia REST Framework'
  1. Magnolia REST Framework
  2. MGNLREST-340

Delivery API to return limit, size and start of the results

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: High High
    • None
    • None
    • None
    • None

      Currently, Delivery API endpoint does not return the number of all results.

      It makes it hard to paginate/lazy load with help of offset and limit, as we do not know how many pages should there be.

      It would be nice to extend the response to have the following properties:

      • limit
      • size
      • start

      e.g.:

      {
        "limit": 5,
        "size": 10,
        "start": 0,
        "results": [...]
      }
      

        Acceptance criteria

              czimmermann Christopher Zimmermann
              bstaryga Bartosz Staryga
              Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD