| GET | /virtuozzo/vm/server/remote-console | Get remote console for the vm |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| SessionId | query | string | Yes | The session identifier |
| ServerId | query | string | Yes | The Server unique identifier |
| Protocol | query | ConsoleProtocol | Yes | The requested console protocolAllowable Values
|
| ConsoleType | query | ConsoleType | Yes | The requested console typeAllowable Values
|
| vnc | |
| spice | |
| serial | |
| mks |
| novnc | |
| spiceHtml5 | |
| spiceDirect | |
| serial | |
| webmks |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /virtuozzo/vm/server/remote-console HTTP/1.1 Host: n3tapi.palmettovdc.com Accept: application/json