Query parameters
-
Whether to resize the screenshot.
-
The quality of the screenshot, ranging from 1 (worst) to 100 (best). -1 or omitted for png
-
The size of the screenshot ([width]x[height]). Requires resize to be true.
-
The scale of the screenshot. Requires resize to be true.
-
Stream the image to the client. This will stream the image in image/jpg or image/png format.
GET
/application/screenshot
curl \
--request GET 'http://localhost:1888/v2/api/application/screenshot'
Response examples (200)
{
"Response": "<base64 encoded image>",
"Error": "string",
"StatusCode": 200,
"Success": true,
"Type": "API"
}
Response examples (500)
{
"Response": "string",
"Error": "Unknown error",
"StatusCode": 500,
"Success": false,
"Type": "API"
}