Consume Web of Things
This handler (com.rierino.handler.wot.WOTConsumerEventHandler) provides ability to consume WoT data and invoke actions on IoT and similar endpoints
Handler Parameters
Parameter
Definition
Example
Default
Actions
GetWOTEntry
GetWOTProperty
Field
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Consume Web of Things GetWOTProperty action eventMeta fields",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"domain": {
"type": "string",
"definition": "ID of the \"Thing\" to read from",
"example": "coffee_machine",
"default": null
},
"outputElement": {
"type": "string",
"definition": "Json path for the output in response event payload",
"example": "output",
"default": null
}
}
}
}
}Parameter
Definition
Example
Default
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Consume Web of Things GetWOTProperty action eventMeta.parameters",
"type": "object",
"properties": {
"eventMeta": {
"type": "object",
"properties": {
"parameters": {
"type": "object",
"properties": {
"property": {
"type": "string",
"definition": "Name of the property to read",
"example": "level",
"default": null
}
}
}
}
}
}
}WriteWOTProperty
Field
Definition
Example
Default
Parameter
Definition
Example
Default
InvokeWOTAction
Field
Definition
Example
Default
Parameter
Definition
Example
Default
Last updated
