Skip to Content

Desktop

The shared desktop of the agent.

OperationKindHTTP
desktop.screenshotcallGET /v1/screenshot

desktop.screenshot

The shared desktop as PNG.

Host level only. Through rookery serve it needs the role view.

Result

Bytes: {"base64": …, "content_type": …} on the portal, the response body over HTTP (image/png).

Request
{
  "id": 1,
  "op": "desktop.screenshot"
}
Reply
{
  "id": 1,
  "result": {
    "base64": "aGVsbG8K",
    "content_type": "image/png"
  }
}

On this page