Do we have any Rest api support to automate Horizon & launch a view for a VM. Am trying to automate this using java.Working as Cisco client partner & need this support.
With version 8.0 the REST API has caught up and is full featured. With the older 7.x versions, it was pretty basic stuff only. But they did have a full featured PowerCLI module and C# API.
VMware Horizon Server API - VMware API Explorer - VMware {code}
Hi ,
Thanks for the update , may i know which API / sample code, will help to launch the webclient (Console for a VM) - https://IP.xx.xx.xx/portal/webclient/index.html#/desktop .
So I went through the Horizon 8 API guide pretty closely, I don't see a method to have a user launch a desktop session via API. Are you saying this functionality was implemented domdsouza?
Edit URL: View API - VMware API Explorer - VMware {code}
This could potentially be done with the Session Pre-Warm API that was released in 7.12, which VMware still has not publicly given any information or documentation on...
-Nick
I'm not seeing anything that would indicate this is possible given the current public API documentation.
I'm not a vmware employee, but from what I've heard so far the prewarm is not public at this time and is mainly for companies like impravita to improve logon times
Horizon 7.12 - Prewarm Sessions
the best way I've seen this done is with the HTML client and using a script to move. Not to say its no possible as I'm not familar enough with the SDK, rest wouldn't be able to do it. This post suggests he has something
Re: VDI Bot Using API - Auto Test Desktop Login + Get VM Health