Skip to main content
Question

API Get request with no pagination?


Forum|alt.badge.img+1

Hi!  I'm new to using the Jamf Pro API.  I am sending a GET request to the API to get all mobile objects.   If I use the API v1 endpoint, it returns all mobile devices:

/api/v1/mobile-devices

But I am aware that this will be deprecated.  However if I use API v2, we need to specify a large page size, otherwise we get only the first 100 results (the default page size in v2):

/api/v2/mobile-devices?page=0&page-size=100000&sort=id%3Aasc

 

Is there any way to make a GET request to see all mobile devices in JSON?  Or is the only way to specify a large page size?  Thanks in advance for any help or insights.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings