hw/buttons

The hw/buttons URI gets a list of manageable buttons.

URI path

hw/buttons

Supported request methods

GET

Query the system for the list of addressable buttons manageable by web services. The data record returned is a list of URIs corresponding to the “children” of hw in the web services data tree.

Supported content types:

HTML

The result URIs are turned into URLs relative to the device, and returned in an HTML list.

XML

The result URIs are wrapped in element tags, and returned in a buttons block. For example:

<buttons>
        <element>hw/buttons/button_1</element>
        <element>hw/buttons/button_2</element>
        :>
        <element>hw/buttons/button_N</element>
</buttons>

JSON

The result URI strings are collected in an array assigned to a buttons field. For example:

{ “buttons” : [ “hw/buttons/button_1”,
                “hw/buttons/button_2”, ...
                “hw/buttons/button_N” ] }

 

© 2019 Digi International Inc. All rights reserved.
hw/buttons updated on 18 Oct 2017 09:57 AM