Resize a screen
Change a screen’s resolution.
xrandr, so the X server is not restarted and
every window already open on the screen is kept.
Path parameters
400.default for the boot screen.Body parameters
1 or greater.1 or greater.400 and the message width and height are required.
Response
Returns the screen with its newwidth and
height. Every other field is unchanged: resizing does not move a screen to a
different display, and its vnc_port and ws_port stay where they were.
Errors
Failures raised before the request reaches the computer carryerror alone.
Failures relayed back from the computer add request_id and upstream_status.
Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Path Parameters
Computer ID
Screen ID, or default for the boot screen.
Body
The new size. Both dimensions are required here, unlike creating a screen. There is no boot screen to fall back to when the intent is an explicit change.
Response
The resized screen. Every other field is unchanged: a resize does not move a screen to another display, and its ports stay where they were.
Screen identifier. The boot screen is always default.
"screen-1"
X display this screen runs on.
":100"
Width in pixels.
1920
Height in pixels.
1080
VNC port for this screen.
6000
WebSocket port for this screen.
6081
True for the screen the computer boots with. It cannot be destroyed.
false