Unikraft Cloud noVNC Plugin API
string · enum · requiredinteger · uint64 · requiredstring
integer · uint32 · min: 1 · max: 2560 · requiredinteger · uint32 · min: 1 · max: 1600 · required string · enum · requiredinteger · uint64 · requiredstring
GET
http://localhost:8080
/screen
Get the size of the screen.
Responses
An unexpected error response.
The size of the screen. `400` is returned by a resize when the requested
size is larger than the largest size the desktop supports.
statusThe status of the response.
Enum values:
success
error
partial_success
object · required
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.
PUT
http://localhost:8080
/screen
Resize the screen. The windows of the desktop stay open and connected VNC clients follow the new size.
Request Body
The request to resize the screen, in pixels.
widthheightResponses
An unexpected error response.
The size of the screen. `400` is returned by a resize when the requested
size is larger than the largest size the desktop supports.
statusThe status of the response.
Enum values:
success
error
partial_success
object · required
The response data for this request.
op_time_usThe operation time in microseconds.
messageAn optional message providing additional information about the status.
A list of errors which may have occurred during the request.