what is the field more:false in api responce? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

The response can be interpreted as the following outcome:

  • total=1131, more=false - Indicates that total number of hits is 1131. The UI can show up to 31 results as part of the first page and provide pagination for the next three pages. You can also use this implementation to display a descriptive text like “1131 results found”.
  • total=1131, more=true - Indicates that the total number of hits is greater than 1131 and the exact count is not known. The UI can show up to 31 as part of the first page and provide pagination for the next 31 pages. You can also use this to display a text like “more than1131 results found”. As the user goes to the next pages calls made to the Query Builder would increase the limit of guessTotal and also of the offset and limit parameters.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
August 23, 2022

The response can be interpreted as the following outcome:

  • total=1131, more=false - Indicates that total number of hits is 1131. The UI can show up to 31 results as part of the first page and provide pagination for the next three pages. You can also use this implementation to display a descriptive text like “1131 results found”.
  • total=1131, more=true - Indicates that the total number of hits is greater than 1131 and the exact count is not known. The UI can show up to 31 as part of the first page and provide pagination for the next 31 pages. You can also use this to display a text like “more than1131 results found”. As the user goes to the next pages calls made to the Query Builder would increase the limit of guessTotal and also of the offset and limit parameters.
Arun Patidar