Skip to main content

Notification

{
"is_new": "boolean",
"sid": "string",
"post/discussion/status": {},
"aggregated": [
{
"is_new": "boolean",
"sid": "string",
"type": "string",
"active_at": "string",
"post/discussion/status/comment/follower": {}
}
]
}

Properties

NameTypeRequiredRestrictionsDescription
is_newbooleantrueread-onlyIf true, there is in aggregate list at least one notification not yet read by the user, otherwise it is false.
sidstringtrueread-onlySerialization id of the macro notification aggregate block.
discussionDiscussionfalseread-onlyPrimary object involved (object that is common to notifications group) if it is a discusssion. For some types of notifications it will not be present.
postPostfalseread-onlyPrimary object involved (object that is common to notifications group) if it is a post. For some types of notifications it will not be present.
statusStatusfalseread-onlyPrimary object involved (object that is common to notifications group) if it is a status. For some types of notifications it will not be present.
aggregatedlist(Object)falseread-onlyList of aggregated notifications by type. Types Object: NotificationTypeComment, NotificationTypeMention, NotificationTypeConnectionAccept, NotificationTypeConnectionRequest, NotificationTypePrivateMessage, NotificationTypeFollow, NotificationTypeVoteUp, NotificationTypeBlockedUser, NotificationTypeUnBlockedUser, NotificationTypeKindlyNotice, NotificationTypeCollapsedFor, NotificationTypeDeletedFor, NotificationTypeCustomNotification, NotificationTypeContribution