Zudoku
Unikraft Cloud noVNC Plugin API

ClickRequest

The request to click the pointer.
x
​integer · uint32

(OPTIONAL) The position to move the pointer to before the click. When omitted, the click is at the current position of the pointer.

y
​integer · uint32

(OPTIONAL) See x. Both or neither of x and y must be set.

button
​string · enum

The button to click.

Enum values:
left
middle
right
Default: left
count
​integer · uint32 · min: 1 · max: 10

The number of clicks, for example 2 for a double click.

Default: 1

MovePointerRequest

The request to move the pointer, in pixels from the top-left corner.
x
​integer · uint32 · required
y
​integer · uint32 · required

PointerButton

string · enum
Enum values:
left
middle
right

The pointer button to click.

PointerResponse

The position of the pointer after the operation.
status
​string · enum · required

The status of the response.

Enum values:
success
error
partial_success
​object · required

The response data for this request.

op_time_us
​integer · uint64 · required

The operation time in microseconds.

message
​string

An optional message providing additional information about the status.

A list of errors which may have occurred during the request.

PointerResponseData

A position on the screen, in pixels from the top-left corner.
x
​integer · uint32 · required
y
​integer · uint32 · required

ResizeScreenRequest

The request to resize the screen, in pixels.
width
​integer · uint32 · min: 1 · max: 2560 · required
height
​integer · uint32 · min: 1 · max: 1600 · required

ResponseError

The error response message for an API request.
status
​integer · uint64 · required

The HTTP status code of the error.

ResponseStatus

string · enum
Enum values:
success
error
partial_success

The response status of an API request.

ScreenResponse

The size of the screen. `400` is returned by a resize when the requested size is larger than the largest size the desktop supports.
status
​string · enum · required

The status of the response.

Enum values:
success
error
partial_success
​object · required

The response data for this request.

op_time_us
​integer · uint64 · required

The operation time in microseconds.

message
​string

An optional message providing additional information about the status.

A list of errors which may have occurred during the request.

ScreenResponseData

The size of the screen, in pixels.
width
​integer · uint32 · min: 1 · required
height
​integer · uint32 · min: 1 · required