vms

Execute a command inside a VM using WebSocket protocol

get/vms/{name}/exec

Query parameters

commandstring required

Command to execute

stdinboolean

Whether to allocate an interactive standard input for the command

When enabled, make sure to close the standard input by sending a ExecClientFrameStdin frame with an empty data. Otherwise the command might never terminate waiting for the standard input to end.

waitinteger

Duration in seconds for the VM to become available if it's not available already

Headers

Connectionstring required

WebSocket protocol required header

Upgradestring required

WebSocket protocol required header

Changes