full_list=true not working for devices

AGRMax
AGRMax Posts: 5 ✭✭
edited March 2021 in Deployment & Integrations

I am downloading my device list using this command:


Invoke-RestMethod -Uri 'https://webapi.teamviewer.com/api/v1/devices?full_list=true' -Method get -Headers @{'Authorization'='mytoken'}


While the "?full_list=true" is making a difference for listing users, it does change anything for my devices. Which is bad, because I need to see the "last_seen" propert.


Any idea what the reason might be?

Best Answer

  • AGRMax
    AGRMax Posts: 5 ✭✭
    Answer ✓

    Issue solved.

    I always tested with the first result ... which did not have a last_seen property at all. Others have it.

Answers

  • AGRMax
    AGRMax Posts: 5 ✭✭
    Answer ✓

    Issue solved.

    I always tested with the first result ... which did not have a last_seen property at all. Others have it.