GET /clipboard/named
Every named clipboard with a preview and when it last changed.
Details #
Returns a list of {name, kind, preview, modified} by name; a text clipboard also has text. A clipboard sealed with another Mac's key has kind set to locked. 404 when the clipboard features are not running.
curl -s -H "Authorization: Bearer $TOKEN" http://127.0.0.1:48080/clipboard/named
Parameters #
curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X GET http://localhost/clipboard/named
Every named clipboard with a preview and when it last changed. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.