Skip to content

Latest commit

 

History

History
43 lines (38 loc) · 1.93 KB

File metadata and controls

43 lines (38 loc) · 1.93 KB
title slug excerpt hidden metadata createdAt updatedAt
srv: notification/insert
srv-notificationinsert
false
image robots
index
Sat Jul 15 2017 13:16:42 GMT+0000 (Coordinated Universal Time)
Tue Feb 18 2025 13:02:59 GMT+0000 (Coordinated Universal Time)

Notifies the user about new device notification.

Server Message

Message Representation

{
    "action": {string},
    "subscriptionId": {guid},
    "notification": {
        "id": {integer},
        "notification": {string},
        "deviceId": {string},
        "timestamp": {datetime},
        "parameters": {object}
    }
}

Message Parameters

Property Name Type Description
action string Action name: notification/insert
subscriptionId guid Identifier of the associated subscription.
notification object A DeviceNotification resource representing the notification.
notification.id integer Notification identifier.
notification.notification string Notification name.
notification.deviceId string Device unique identifier.
notification.timestamp datetime Notification timestamp (UTC).
notification.parameters object Notification parameters, a JSON object with an arbitrary structure.