I am trying to get the full list of endpoints with Sophos installed through the api. I am querying https://api1.central.sophos.com/gateway/migration-tool/v1/endpoints with the correct headers and in the response I see that there are over 800 total items
{
"total": 861,
But only 100 items are being returned. I saw that there is an offset query param and tried using that. Unfortunately it only seems to return a random 100 devices. My thought was to query with incrementing offsets until I got no results but even if I put a value like 60 in the offset param, I still get 100 items. Is there a way to query the api such that I can get all of my results or even get the offsets to return an ordered set? It would be great if I could just loop through the offsets to get all devices.
Also, what is the format for the since parameter? I tried something like "2018-11-26T00:00:00.000Z" and got zero results when I know there are results when I leave it out.
Regards,
Chris
This thread was automatically locked due to age.