Skip to main content
v1

Get the currently focused desktop window.

GET /v1/desktop/windows/focused: request parameters and responses.

GET /v1/desktop/windows/focused

Returns information about the window that currently has input focus.

Responses

200

Focused window info

Content type: application/json

{
  "schema": {
    "$ref": "#/components/schemas/DesktopWindowInfo"
  }
}

Related schemas: DesktopWindowInfo.

404

No window is focused

Content type: application/json

{
  "schema": {
    "$ref": "#/components/schemas/ProblemDetails"
  }
}

Related schemas: ProblemDetails.

409

Desktop runtime is not ready

Content type: application/json

{
  "schema": {
    "$ref": "#/components/schemas/ProblemDetails"
  }
}

Related schemas: ProblemDetails.