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
Name | Type | Required | Restrictions | Description |
---|---|---|---|---|
is_new | boolean | true | read-only | If true, there is in aggregate list at least one notification not yet read by the user, otherwise it is false. |
sid | string | true | read-only | Serialization id of the macro notification aggregate block. |
discussion | Discussion | false | read-only | Primary object involved (object that is common to notifications group) if it is a discusssion. For some types of notifications it will not be present. |
post | Post | false | read-only | Primary object involved (object that is common to notifications group) if it is a post. For some types of notifications it will not be present. |
status | Status | false | read-only | Primary object involved (object that is common to notifications group) if it is a status. For some types of notifications it will not be present. |
aggregated | list(Object) | false | read-only | List of aggregated notifications by type. Types Object: NotificationTypeComment, NotificationTypeMention, NotificationTypeConnectionAccept, NotificationTypeConnectionRequest, NotificationTypePrivateMessage, NotificationTypeFollow, NotificationTypeVoteUp, NotificationTypeBlockedUser, NotificationTypeUnBlockedUser, NotificationTypeKindlyNotice, NotificationTypeCollapsedFor, NotificationTypeDeletedFor, NotificationTypeCustomNotification, NotificationTypeContribution |