Permissions
A WebSocket connection can only access devices that the current API client is allowed to access.
Scope Matrix
| Topic | Scope |
|---|---|
session.ping | Authenticated connection |
device.status.get | device:read |
device.operation.execute | device:control |
device.connection.online | device:read |
device.connection.offline | device:read |
device.state.changed | device:read |
device.power.lost | device:read |
Rules
- Creating a
wsTicketrequires a valid access token - After the connection is established, the service determines the accessible range by the API client permissions used when the ticket was created
- The client can only receive events for devices it is allowed to access
- Existing connections may be closed when the access token expires, the API client is disabled, or permissions are changed
