items

Updates the state of an item.

Changed on
put/items/{itemname}/state

Request

Path parameters

itemnamestring required

item name

Query parameters

sourcestring

the source of the event

Headers

Accept-Languagestring

language

X-OpenHAB-Sourcestring

the source of the event; takes priority over the query parameter or JSON body if multiple are set

Request body text/plain

string required

Response

Accepted

Changes

    • info

      added the new optional header request parameter X-OpenHAB-Source

    • info

      added the new optional query request parameter source

    • warning

      deleted the header request parameter X-OpenHAB-Source

    • warning

      deleted the query request parameter source