How to connect to VM in its region thru API

Hello,

We use MIQ multiregion setup. When accessing VM from global region I see “Connect to VM in its Region” button. How can I get the link to VM’s home region thru API?

UPD: alternatively is it possible to get href for service catalog on its region?

WBR,
Viacheslav Medvedev