•   over 3 years ago

what is the limit of the query range

I know that 30 rows are retrieve per page.
In my system, i have numerous softwares,
when i first set it to 30, it returns 30 softwares in my system, i set to 90, it returns 90 diffferent softwares. okay i decided to set the page row to 330 but it returns only 30 softwares. does it mean that i have exceeded the search query or what is the limit range of search.

thhanks

and for that i just set it to

  • 2 comments

  • Moderator   •   over 3 years ago

    Yeah, the limit is 100 per page. So if the option that you pass in, is not between 1 and 100, it will automatically be set to the default, which is 30.

  • Moderator   •   over 3 years ago

    You will need to make multiple queries, where you increase the 'page' option each time until you hit the page_count value (the page_count should not change and is returned on each request under the 'meta.page_count' property). See here: developers.spiceworks.com/documentation/cloud-apps/api-basics#paging.

Comments are closed.