hw/buttons/button_name
The hw/buttons/button_name URI reads the state of the named button.
URI path
hw/buttons/button_name
Supported request methods
GET
Queries the state of the named button.
Supported content types
XML
Button records can have one of the following as contents:
<button>down</button> <button>up</button>
JSON
Button records can have one of the following as contents:
{ “button” : “down” } { “button” : “up” }