Skip to main content
v1

Open a file or URL with the default handler.

POST /v1/desktop/open: request parameters and responses.

POST /v1/desktop/open

Opens a file path or URL using xdg-open on the managed desktop.

Request body

Required.

application/json

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

Related schemas: DesktopOpenRequest.

Responses

200

Target opened

Content type: application/json

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

Related schemas: DesktopOpenResponse.

409

Desktop runtime is not ready

Content type: application/json

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

Related schemas: ProblemDetails.