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 Parameter | Type | Description |
|---|---|---|
id | string | Action identifier, e.g. "power_on", "volume_up", "power_on_long" |
Responses
| Status | Body |
|---|---|
| 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