Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

GET /trigger/{id}

Shortcut for triggering an action by its identifier. Equivalent to POST /action with only the id set.

Useful for clients limited to GET requests.

Request

Path ParameterTypeDescription
idstringAction identifier, e.g. "power_on", "volume_up", "power_on_long"

Responses

StatusBody
200 OK{"message": "Found in Device"}
404 Not Found{"message": "Not found"}

Example

Bash command

curl http://192.168.0.100/api/trigger/power_on