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

POST /action

Sends an action to be resolved and dispatched to the appropriate commands.

Request

Body

FieldTypeDescription
idstringAction identifier, e.g. "power_on"
rolestring(optional) Role to scope the lookup, e.g. "display", "media", "audio", "avr", "scene"
dvcobject(optional) Device to scope the lookup

Responses

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

Example

Bash command

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"action": {"id": "power_on", "role": "tv"}}' \
  http://192.168.0.100/api/action