Hello,
I need to know on which MX port is a client connected, with APIs. This would be really helpful to automate a migration.
I can get this information on the dashboard :

I can see directly on which MX port a wired device is connected.
But I cannot find any API call to get this information, I only get switchport, but it's empty.
Is there any way to get it ?
Regards,