When doing API requests to Mender I would like to resolve the device uuid used for other operations like tunnel. This seems to not be available. Instead there’s only a request to get all devices.
When you have a fleet of over 1000 devices this is not efficient.
For example all devices report the real serial number with the attribute “serialno” , I would like to get the UUID from that.
Is there such a feature now, or can it be requested?
Can I start a tunnel session locally on the device? I still need the uuid, and I understand that this is only on the server and not the client. Can I request the UUID somehow locally on the device then?
Have you tried https://your-mender-instance/api/management/v1/inventory/devices?identity/serialno=12345? Was able to fetch a custom identity value I set in mender-device-identity with that