diff --git a/107.md b/107.md index 726092e..7c8de00 100644 --- a/107.md +++ b/107.md @@ -53,19 +53,21 @@ This message is sent by a `user` to a `device`. The `device` saves the config lo ```json { "type": 0, - "admin_pubkeys": [ []], "name": , "description": , "categories":[ ], - "send_to_pubkeys":[ []], + "admin_pubkeys": [ []], + "publish_to_pubkeys":[ []], "intents_from_pubkeys":[ []], + "publish_on_change": , + "publish_interval": } ``` | Field | Description | |---|---| | `admin_pubkeys` | List of public keys that are allowed to configure this device.
A fresh/blank device will not have this value, so the first received `"type: 0"` should set it.
The `admin_pubkeys` implicitly have the `actions_from_pubkeys` permissions. | -| `send_to_pubkeys` | List of public keys to which events are published. | +| `publish_to_pubkeys` | List of public keys to which events are published. | | `actions_from_pubkeys` | List of public keys that are allowed to trigger an action on this device.
The `admin_pubkeys` implicitly have the `actions_from_pubkeys` permissions. | ### Event: Update a `device`