teamviewer.com link icon
or
Ask The Community

full_list=true not working for devices

AGRMax
AGRMax Posts: 4 ✭✭
edited March 23 in API and scripting

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: 4 ✭✭
    Accepted 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: 4 ✭✭
    Accepted Answer

    Issue solved.

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

Sign In or Register to comment.