Details
-
Improvement
-
Resolution: Duplicate
-
Neutral
-
None
-
None
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Yes
Description
Done
This is shipped in 6.2.18 https://jira.magnolia-cms.com/browse/MGNLREST-197
Descriptiono
As a developer I want to know the total number of results, so I can inform the user, and in some cases so that my frontend can display an accurate scrollbar or other control type.
Input from customer:
"We are wanting in the Delivery API to have a way to see the total number of results for a given query so we can better manage pagination. When completing a query with an offset and limit, we are able to retrieve a given query in chunks which is helpful, but we also need the number total results so that we can know how many pages of data there are and produce a UI which includes Page numbers, not just next and previous. This seems to be common in API's which offer pagination so we would love to see that here."
Checklists
Attachments
Issue Links
- duplicates
-
MGNLREST-197 Lacking of total size of items when doing REST requests
-
- Closed
-