---
title: "Open a workspace file"
method: POST
path: "/api/desktop/pending-files"
tags: ["desktop"]
---

# Open a workspace file

`POST /api/desktop/pending-files`

## Request

- The document declares no server URL.
- Auth: none declared

Registers a workspace file on this computer to be opened, as the launcher does for a double-clicked .rdfa file. A window opened at /mainpage?open=<id> then opens it. Only in the desktop app.

## Request body

- PendingFileDTO
  - `fileName` string
  - `id` string
  - `path` string

## Response `201`

Registered

- PendingFileDTO
  - `fileName` string
  - `id` string
  - `path` string

## Other responses

- `400`: No readable workspace file

## Changes

- **2026-12-03** `2154fa285897`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/desktop/pending-files/post.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
