Execute a command inside a VM using WebSocket protocol
Changed onRequest
- The document declares no server URL.
- Authnone declared. Required headers: Connection, Upgrade
Query parameters
Command to execute.
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.
Deprecated alias for interactive.
If both interactive and stdin are provided, their values must match.
Whether to allocate a pseudo-terminal for the command
Initial terminal row count when tty=true
Initial terminal column count when tty=true
Environment variables to expose to the command.
Use deep object query syntax, for example env[FOO]=bar&env[BAZ]=qux.
Working directory to switch to before starting the command
Duration in seconds for the VM to become available if it's not available already
Headers
WebSocket protocol required header
WebSocket protocol required header
Changes
- breaking
the
queryrequest parametercommandbecame required - warning
deleted the
queryrequest parametercmux_session_id - warning
deleted the
queryrequest parametersession - warning
removed the optional property
////////from the response with the status - warning
removed the optional property
////////from the response with the status - warning
removed the optional property
////////from the response with the status - warning
removed the optional property
////////from the response with the status - info
removed the non-success response with the status
- info
removed
historyackdetachclosediscriminator mapping keys from the///response property for the response status - info
removed
no_more_historydiscriminator mapping keys from the///response property for the response status - info
removed from the
///response propertyoneOflist for the response status - info
removed from the
///response propertyoneOflist for the response status
- breaking
- breaking
added to the
///response propertyoneOflist for the response status - info
added the new optional
queryrequest parametercols - info
added the new optional
queryrequest parameterenv - info
added the new optional
queryrequest parameterinteractive - info
added the new optional
queryrequest parameterrows - info
added the new optional
queryrequest parametertty - info
added the new optional
queryrequest parameterworkdir - info
queryrequest parameterstdinwas deprecated - info
added
resizediscriminator mapping keys to the///response property for the response status
- breaking