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

Details

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

    Description

      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": [...]
      }
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD