Resize screen
Change the virtual display resolution.
POST
/api/display/screenChange the virtual display resolution.
Authorization
BearerAuth AuthorizationBearer <token>
API key passed as a Bearer token.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
width*integer
New display width.
Range
320 <= value <= 7680height*integer
New display height.
Range
320 <= value <= 4320Response Body
application/json
application/json
curl -X POST "https://<sandbox_id>.sandbox.leap0.dev/api/display/screen" \ -H "Content-Type: application/json" \ -d '{ "width": 1280, "height": 800 }'{ "display": ":0", "width": 1440, "height": 900}{ "message": "Invalid request", "errors": [ { "field": "string", "error": "string" } ]}
