Skip to content
handupbeta
Download

keys_put

View as Markdown
PUT
/v1/keys

Replace the keyboard shortcut overrides (keys: in the daemon config): validated, saved to the config file and applied without a restart. Emits keys.changed so every open client rebinds, then config.changed. Local, and decide scope on paired devices.

Media typeapplication/json

PUT /v1/keys body: the complete override set.

object
keys
required

Action id → key; an omitted action uses its default, so {} resets all.

object
key
additional properties
string

The saved overrides, keys in canonical form

Media typeapplication/json

PUT /v1/keys body: the complete override set.

object
keys
required

Action id → key; an omitted action uses its default, so {} resets all.

object
key
additional properties
string

Unknown action, built-in key, unparseable key, conflict, invalid config file, or the daemon has no config file

Remote device without decide scope