
kmore asked a question.
REST API - Is it possible to change the PageSize from the default of 100 to 'all'?
Hello there,
I have an API query that gathers the computer's. The challenge is that the query defaults to an output of 100 items on the page. Is there a way to output 'all' of the computer objects instead of having to loop through each 100?
The code is written in powershell.
Thanks for the help!
Hi @Kelly Moore​ ,
no. That's how those API works.
Have a look on a some code i've written to deal with it.
https://gist.github.com/snowliver/97e7f4e8952e96ecdc7680f543ce51b4
gives you a nice Hashtable with all Computers in the end.
Maybe it helps you.
Cheers Oliver