Help with API Get and 1,000 Device Limit
JonathanShapiro
Posts: 2
Hello, I wrote a PowerShell to pull down a list of TeamViewer devices and then walk through the list to get the missing patches. It all works great except that my Get request for the list of machines only pulls down 1,000 devices. I assume I must break it up into paged requests. I could sure use some documentation on how to do this with the API.
My get request for the list of devices looks like this:
$fullURL = "https://webapi.teamviewer.com/api/v1/managed/groups/[my group id]/devices"
Invoke-RestMethod -Uri $FullURL -Method Get -Headers $header
0