v32

OpenAPI 3.0.3AGPL-3.0-onlyraw.githubusercontent.com2026-08-0178220333.8 KB
clipboard

POST /clipboard/restore/{entry_id}

Re-apply a stored clipboard entry to the local system clipboard. Wrapped in the canonical { data, ts } envelope (ADR-008 §0.1/§0.2); errors use the canonical ApiErrorResponse. The payload_unavailable (410) error carries { entry_id, rep_id, state } in details (§0.3); the code/message strings are LOAD-BEARING and preserved.

post/clipboard/restore/{entry_id}

Path parameters

entry_idstring required

Clipboard entry id to restore

Query parameters

plainboolean nullable

Restore as plain text only (strip rich representations)

file_pathsboolean nullable

Restore file entries as newline-separated native paths

Response

Entry restored to the system clipboard

tsinteger required

Server time when the response was built (unix epoch milliseconds).