items
Updates the state of an item.
Changed onput/items/{itemname}/state
Request
- Base URL/rest (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
headerrequest parameterX-OpenHAB-Source - info
added the new optional
queryrequest parametersource
- info
- warning
deleted the
headerrequest parameterX-OpenHAB-Source - warning
deleted the
queryrequest parametersource
- warning