events
Api reference content
get/api/events
Retrives all events. Results can be paged with query parameters start and limit.
Parameters
Parameter | Place | Required | Description |
---|---|---|---|
start | query | required | First item in page |
limit | query | required | Number of items in page |
Responses
Status | Description |
---|---|
200 | application/json { "_links": { "next": "string", "base": "string", "self": "string" }, "start": "double", "limit": "double", "results": [ { "id": "string", "name": "string", "file_id": "string", "trigger": { "mac": "string", "sensor": "integer", "type": "level | pulse_audio | pulse_time", "duration": "double" }, "action": [ { "mac": "string", "audio": "boolean", "relays": "[double]" } ], "special_volume": "double" } ] } |
400 | application/json { "errors": "[string]" } |