_Notification.getNotifications()
Function to get the notifications of currently logged in user
{% set notifications = _Notification.getNotifications() %}
Example Response
{
"count":"1",
"list":[
{
"title":"Title",
"body":"Notification Content",
}
]
}
Response Description
Attribute | Description |
---|---|
count | Count of notifications |
list | Array of notifications |
Notification List
Attribute | Description |
---|---|
title | Notification title |
body | Notification body |
Updated almost 5 years ago