# Overview

# Entry notification

Attribute Type Description
type string Message type. For notification messages value should be "Notification".
trigger string Event triggering then Notification. In case of Ledger Entries it can be "ledger.entry.added"',"ledger.entry.updated", or"ledger.entry"deleted"`.
message string UUID of the notification message.
twin string UUID of the Twin.
event dictionary
List of Entries where an Entry update triggered the notification with details of the Entry update in form of key-value pairs.
Key Value
new_value Value of the Entry after the update.
old_value Value of the Entry before the update.
changed_ts Time at which the value of the Entry was changed. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).
sent_ts timestamp Time at which the message was sent. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).
subscription dictionary
Subscription details.
Attribute Type Description
topic string Name of the subscription topic. It must match the regular expression(opens new window) ^[0-9A-Za-z\-]{3,48}$.
account string Account UUID.
validity_ts timestamp Time at which the subscription expires. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).
hash string Message hash. Please see the Hash verification section for more details.

# Sticker notification

Attribute Type Description
type string Message type. For notification messages value should be "Notification".
trigger string Event triggering then Notification. In case of Stickers it can be "sticker.put"',"sticker.removed"', or "sticker.expired".
message string UUID of the notification message.
twin string UUID of the Twin.
event dictionary
Sticker details.
Key Value
color Sticker color.
note Sticker note.
validity_ts Time at which the Sticker expires. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).
created_ts Time at which the Sticker was created. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).
put_by Dictionary containing the account, role and user UUIDs of the user who put the Sticker on the Twin.
sent_ts timestamp Time at which the message was sent. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).
subscription dictionary
Subscription details.
Attribute Type Description
topic string Name of the subscription topic. It must match the regular expression(opens new window) ^[0-9A-Za-z\-]{3,48}$.
account string Account UUID.
validity_ts timestamp Time at which the subscription expires. Measured in seconds (to three decimal places) that have elapsed since the Unix epoch(opens new window).
hash string Message hash. Please see the Hash verification section for more details.

Was this article helpful?