Closed costero-e closed 8 months ago
Given that the client could easily do this calculation if required, do you see any additional benefit in having that in the response?
I thought it could help if clients don't know there is a limit but it's true it's some extra work for the beacon that can be left out of the equation.
Hello all, currently, pagination does not show a number for the total number of pages given in a query response (e.g. you are looking at the page 7 out of 734). In other words, a beacon does not show the maximum skip number a particular query can have. I find this relevant, as one could be looking for rendering page by page the documents until the end of the documents retrieved, and not having this number could lead to discouraging people trying to look for all the results found. Right now, pagination looks like this:
I would suggest adding something like, a maximum skip number, which could be the result of dividing the numTotalResults by the limit parameter:
I would like to know what is your opinion on this, thank you.