I need to use the JAMF School API to retrieve a list of devices. When I call the /api/devices/ API in PowerShell, it returns *all* the devices as part of the JSON response - which could run into many thousands. That’s a response size of tens of MBs, probably larger.
This could cause problems with the code and the memory of server on which the script is running. I don’t see a way to paginate the response. Neither the documentation nor the Postman project have any information about paging the response to keep the response to a reasonable size.
Am I missing something in the documentation that could allow me to paginate the response? Or is there another API that I can use to retrieve devices in smaller sets?
