How can we get an endpointID for a specific endpoint? I can't see any option to retrieve this, unless it's already known.
I know that I can retrieve a list of all endpoints, but even then, matching the entries up to specific endpoints is not straightforward. The only identifying information included is hostname (which is not necessarily unique) and MAC address (which can change, with use of adapters, spoofed addresses etc).
Ideally I would like to be able to retrieve the ID from the endpoint itself, e.g. by reading a log or config file. As an alternative, it would be acceptable to search the API by serial number. This is mostly on Macs, if that matters.