Notification

Summary

Notifications model represents information notes you receive occasionally from plug. You receive these for example when you level up.

Model

{
   "action": "",
   "id": -1,
   "timestamp": "",
   "value": ""
}

Detail

action

Kind of notification received.

Type: String
Default Value: ""

id

Unique identifier.

Type: Number
Default Value: -1

timestamp

When the notification was received.

Type: String
Default Value: ""

value

Value can be, for example, 11 when the action is a “levelUp”.

Type: String
Default Value: ""