SettingsUnifiedPush
Messages
Data format for push message payload
Webview Kiosk push message payloads are similar to that of MQTT. However, all messages are sent to a single UnifiedPush endpoint instead of being separated by topics.
A type property is used to differentiate between the different actions such
as command and settings.
1. Command
For additional options and the full list of supported commands, refer to MQTT -> Topics -> Command.
Example Payload
{
// Unique to UnifiedPush
"type": "command",
// Same as MQTT
"command": "go_to_url",
"data": {
"url": "https://webviewkiosk.nktnet.uk"
}
}2. Settings
For additional options, refer to MQTT -> Topics -> Settings.
Example Payload
{
// Unique to UnifiedPush
"type": "settings",
// Same as MQTT
"data": {
"settings": {
"appearance.theme": "LIGHT"
}
}
}Last updated on