Logo Decentralized Social Network

Notifications

Nodes can receive notifications about certain events from naming servers and other nodes. Notifications are sent through the REST API of the receiving node. See Architecture Overview for the detailed description of notifications, their purpose and sending mechanism.

Notification packet

Notifications are sent in packets. The packet structure is described in Node API documentation. Each packet contains the type field, containing the type of the notification and notification field, containing the notification details in JSON form. The notification structure depends on the type. See the description below.

ASKED

A remote node asks this node for something.

Type Field Comment
String subject request subject (see AskSubject for the list of possible values)
String friendGroupId if the request is to add this node to friends, this field contains ID of the corresponding group of friends on the remote node
String message optional message to the node admin
Validation errors:
Code Description
ask.friend-group-id.wrong-size friendGroupId is longer than 40 characters
ask.message.wrong-size message is longer than 70 characters

BLOCKING_ADDED

A remote node has blocked this node.

Type Field Comment
String blockedOperation operation that is blocked (see BlockedOperation for the list of possible values)
String postingId ID of the posting, where the node is blocked; null or absent, if the node is blocked globally
String postingHeading heading of the posting, where the node is blocked; may be absent
timestamp deadline unblocking timestamp - the real time when the node will be unblocked; null or absent, if the node is blocked permanently
String reason reason of blocking, may be absent
Validation errors:
Code Description
blocking.posting-id.wrong-size postingId is longer than 40 characters
blocking.posting-heading.wrong-size postingHeading is longer than 255 characters
blocking-added.posting-heading.wrong-size reason is longer than 1024 characters

BLOCKING_DELETED

A remote node has unblocked this node.

Type Field Comment
String blockedOperation operation that is unblocked (see BlockedOperation for the list of possible values)
String postingId ID of the posting, where the node was blocked; null or absent, if the node was blocked globally
String postingHeading heading of the posting, where the node was blocked; may be absent
Validation errors:
Code Description
blocking.posting-id.wrong-size postingId is longer than 40 characters
blocking.posting-heading.wrong-size postingHeading is longer than 255 characters

COMMENT_REACTION_ADDED

Reaction added to a comment owned by the receiver.

Type Field Comment
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
String ownerName name of the reaction owner
String ownerFullName full name of the reaction owner
String ownerGender gender of the reaction owner
AvatarImage ownerAvatar avatar of the reaction owner
boolean negative true, if the reaction is negative, false, if positive
int emoji reaction code, usually interpreted by clients as emoji code point
String postingNodeName posting owner's node name
String postingFullName posting owner's full name
String postingGender posting owner's gender
AvatarImage postingAvatar posting owner's avatar
String postingHeading heading of the posting
String commentHeading heading of the comment
Validation errors:
Code Description
reaction.posting-id.wrong-size postingId is longer than 40 characters
reaction.comment-id.wrong-size commentId is longer than 40 characters
reaction.owner-name.wrong-size ownerName is longer than 63 characters
reaction.owner-full-name.wrong-size ownerFullName is longer than 96 characters
reaction.owner-gender.wrong-size ownerGender is longer than 31 characters
reaction.posting-node-name.wrong-size postingNodeName is longer than 63 characters
reaction.posting-full-name.wrong-size postingFullName is longer than 96 characters
reaction.posting-gender.wrong-size postingGender is longer than 31 characters
reaction.posting-heading.wrong-size postingHeading is longer than 255 characters
reaction.comment-heading.wrong-size commentHeading is longer than 255 characters

COMMENT_REACTION_DELETED

Reaction deleted from a comment owned by the receiver.

Type Field Comment
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
String ownerName name of the reaction owner
String ownerFullName full name of the reaction owner
String ownerGender gender of the reaction owner
AvatarImage ownerAvatar avatar of the reaction owner
boolean negative true, if the reaction is negative, false, if positive
Validation errors:
Code Description
reaction.posting-id.wrong-size postingId is longer than 40 characters
reaction.comment-id.wrong-size commentId is longer than 40 characters
reaction.owner-name.wrong-size ownerName is longer than 63 characters
reaction.owner-full-name.wrong-size ownerFullName is longer than 96 characters
reaction.owner-gender.wrong-size ownerGender is longer than 31 characters

COMMENT_REACTION_DELETED_ALL

All reactions deleted from a comment owned by the receiver.

Type Field Comment
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
Validation errors:
Code Description
reaction.posting-id.wrong-size postingId is longer than 40 characters
reaction.comment-id.wrong-size commentId is longer than 40 characters

FRIEND_GROUP_DELETED

A group of friends that includes the receiver has been deleted on the sending node.

Type Field Comment
String friendGroupId ID of the group of friends on the sending node
Validation errors:
Code Description
friend-group.friend-group-id.wrong-size friendGroupId is longer than 40 characters

FRIEND_GROUP_UPDATED

A group of friends that includes the receiver has been updated on the sending node.

Type Field Comment
FriendGroupInfo friendGroup the updated information about the group of friends

FRIENDSHIP_UPDATED

The receiver was added to or removed from groups of friends on the sending node.

Type Field Comment
FriendGroupDetails[] friendGroups the updated list of group of friends the receiver is member of

GRANT_UPDATED

The set of administrative permissions granted by the sending node to this node has been updated.

Type Field Comment
String[] scope the updated set of permissions (see Scope for the list of possible values)

MENTION_COMMENT_ADDED

A mention of the receiver in a comment on the sending node added.

Type Field Comment
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
String postingOwnerName name of the posting's owner
String postingOwnerFullName full name of the posting's owner
String postingOwnerGender gender of the posting's owner
AvatarImage postingOwnerAvatar avatar of the posting's owner
String postingHeading heading of the posting
String[] postingSheriffs list of sheriffs supervising the posting
SheriffMark[] postingSheriffMarks list of sheriff marks on the posting
String commentOwnerName name of the comment's owner
String commentOwnerFullName full name of the comment's owner
String commentOwnerGender gender of the comment's owner
AvatarImage commentOwnerAvatar avatar of the comment's owner
String commentHeading heading of the comment
SheriffMark[] commentSheriffMarks list of sheriff marks on the comment
Validation errors:
Code Description
mention.posting-id.wrong-size postingId is longer than 40 characters
mention.comment-id.wrong-size commentId is longer than 40 characters
mention.posting-owner-name.wrong-size postingOwnerName is longer than 63 characters
mention.posting-owner-full-name.wrong-size postingOwnerFullName is longer than 96 characters
mention.posting-owner-gender.wrong-size postingOwnerGender is longer than 31 characters
mention.posting-heading.wrong-size postingHeading is longer than 255 characters
mention.comment-owner-name.wrong-size commentOwnerName is longer than 63 characters
mention.comment-owner-full-name.wrong-size commentOwnerFullName is longer than 96 characters
mention.comment-owner-gender.wrong-size commentOwnerGender is longer than 31 characters
mention.comment-heading.wrong-size commentHeading is longer than 255 characters

MENTION_COMMENT_DELETED

A mention of the receiver in a comment on the sending node deleted.

Type Field Comment
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
Validation errors:
Code Description
mention.posting-id.wrong-size postingId is longer than 40 characters
mention.comment-id.wrong-size commentId is longer than 40 characters

MENTION_POSTING_ADDED

A mention of the receiver in a posting on the sending node added.

Type Field Comment
String postingId ID of the posting on the sending node
String ownerName name of the posting's owner
String ownerFullName full name of the posting's owner
String ownerGender gender of the posting's owner
AvatarImage ownerAvatar avatar of the posting's owner
String heading heading of the posting
String[] sheriffs list of sheriffs supervising the posting
SheriffMark[] sheriffMarks list of sheriff marks on the posting
Validation errors:
Code Description
mention.posting-id.wrong-size postingId is longer than 40 characters
mention.owner-name.wrong-size ownerName is longer than 63 characters
mention.owner-full-name.wrong-size ownerFullName is longer than 96 characters
mention.owner-gender.wrong-size ownerGender is longer than 31 characters
mention.heading.wrong-size heading is longer than 255 characters

MENTION_POSTING_DELETED

A mention of the receiver in a posting on the sending node deleted.

Type Field Comment
String postingId ID of the posting on the sending node
Validation errors:
Code Description
mention.posting-id.wrong-size postingId is longer than 40 characters

POSTING_COMMENT_ADDED

A comment added to the posting the receiver is subscribed to.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String postingId ID of the posting on the sending node
String postingOwnerName name of the posting owner
String postingOwnerFullName full name of the posting owner
String postingOwnerGender gender of the posting owner
AvatarImage postingOwnerAvatar avatar of the posting owner
String postingHeading heading of the posting
String[] postingSheriffs list of sheriffs supervising the posting
SheriffMark[] postingSheriffMarks list of sheriff marks on the posting
String commentId ID of the comment on the sending node
String commentOwnerName name of the comment owner
String commentOwnerFullName full name of the comment owner
String commentOwnerGender gender of the comment owner
AvatarImage commentOwnerAvatar avatar of the comment owner
String commentHeading heading of the comment
SheriffMark[] commentSheriffMarks list of sheriff marks on the comment
String commentRepliedTo ID of the comment on the sending node this comment replies to
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
comment.posting-id.wrong-size postingId is longer than 40 characters
comment.posting-owner-name.wrong-size postingOwnerName is longer than 63 characters
comment.posting-owner-full-name.wrong-size postingOwnerFullName is longer than 96 characters
comment.posting-owner-gender.wrong-size postingOwnerGender is longer than 31 characters
comment.posting-heading.wrong-size postingHeading is longer than 255 characters
comment.comment-id.wrong-size commentId is longer than 40 characters
comment.comment-owner-name.wrong-size commentOwnerName is longer than 63 characters
comment.comment-owner-full-name.wrong-size commentOwnerFullName is longer than 96 characters
comment.comment-owner-gender.wrong-size commentOwnerGender is longer than 31 characters
comment.comment-heading.wrong-size commentHeading is longer than 255 characters
comment.comment-replied-to.wrong-size commentRepliedTo is longer than 40 characters

POSTING_COMMENT_DELETED

A comment deleted from the posting the receiver is subscribed to.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
String commentOwnerName name of the comment owner
String commentOwnerFullName full name of the comment owner
String commentOwnerGender gender of the comment owner
AvatarImage commentOwnerAvatar avatar of the comment owner
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
comment.posting-id.wrong-size postingId is longer than 40 characters
comment.comment-id.wrong-size commentId is longer than 40 characters
comment.comment-owner-name.wrong-size commentOwnerName is longer than 63 characters
comment.comment-owner-full-name.wrong-size commentOwnerFullName is longer than 96 characters
comment.comment-owner-gender.wrong-size commentOwnerGender is longer than 31 characters

POSTING_COMMENTS_UPDATED

Comments have been updated at the posting the receiver is subscribed to.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String postingId ID of the posting on the sending node
int total updated total number of comments to the posting
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
posting.posting-id.wrong-size postingId is longer than 40 characters

POSTING_DELETED

Posting the receiver is subscribed to has been deleted.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String postingId ID of the posting on the sending node
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
posting.posting-id.wrong-size postingId is longer than 40 characters

POSTING_IMPORTANT_UPDATE

An important update was done to the posting the receiver is subscribed to (subscription to comments is enough).

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String postingId ID of the posting on the sending node
String postingOwnerName name of the posting owner
String postingOwnerFullName full name of the posting owner
String postingOwnerGender gender of the posting owner
AvatarImage postingOwnerAvatar avatar of the posting owner
String postingHeading heading of the posting
String description description of the update
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
posting.posting-id.wrong-size postingId is longer than 40 characters
posting.posting-owner-name.wrong-size postingOwnerName is longer than 63 characters
posting.posting-owner-full-name.wrong-size postingOwnerFullName is longer than 96 characters
posting.posting-owner-gender.wrong-size postingOwnerGender is longer than 31 characters
posting.posting-heading.wrong-size postingHeading is longer than 255 characters
posting.description.wrong-size description is longer than 255 characters

POSTING_REACTION_ADDED

Reaction added to a posting owned by the receiver.

Type Field Comment
String parentPostingId ID of the posting containing the media or containing the comment that contains the media linked to the posting in question (present only if the posting in question is linked to a media)
String parentCommentId ID of the comment containing the media linked to the posting in question (present only if the posting in question is linked to a media attached to a comment)
String parentMediaId ID of the media linked to the posting in question (present only if the posting in question is linked to a media)
String postingId ID of the posting on the sending node
String ownerName name of the reaction owner
String ownerFullName full name of the reaction owner
String ownerGender gender of the reaction owner
AvatarImage ownerAvatar avatar of the reaction owner
boolean negative true, if the reaction is negative, false, if positive
int emoji reaction code, usually interpreted by clients as emoji code point
String parentPostingNodeName parent's owner node name (see parentPostingId and parentCommentId above)
String parentPostingFullName parent's owner full name (see parentPostingId and parentCommentId above)
String parentPostingGender parent's owner gender (see parentPostingId and parentCommentId above)
AvatarImage parentPostingAvatar parent's owner avatar (see parentPostingId and parentCommentId above)
String parentHeading heading of the parent (see parentPostingId and parentCommentId above)
String postingHeading heading of the posting
Validation errors:
Code Description
reaction.parent-posting-id.wrong-size parentPostingId is longer than 40 characters
reaction.parent-comment-id.wrong-size parentCommentId is longer than 40 characters
reaction.parent-media-id.wrong-size parentMediaId is longer than 40 characters
reaction.posting-id.wrong-size postingId is longer than 40 characters
reaction.owner-name.wrong-size ownerName is longer than 63 characters
reaction.owner-full-name.wrong-size ownerFullName is longer than 96 characters
reaction.owner-gender.wrong-size ownerGender is longer than 31 characters
reaction.parent-posting-node-name.wrong-size parentPostingNodeName is longer than 63 characters
reaction.parent-posting-full-name.wrong-size parentPostingFullName is longer than 96 characters
reaction.parent-posting-gender.wrong-size parentPostingGender is longer than 31 characters
reaction.parent-heading.wrong-size parentHeading is longer than 255 characters
reaction.posting-heading.wrong-size postingHeading is longer than 255 characters

POSTING_REACTION_DELETED

Reaction deleted from a posting owned by the receiver.

Type Field Comment
String parentPostingId ID of the posting containing the media or containing the comment that contains the media linked to the posting in question (present only if the posting in question is linked to a media)
String parentCommentId ID of the comment containing the media linked to the posting in question (present only if the posting in question is linked to a media attached to a comment)
String parentMediaId ID of the media linked to the posting in question (present only if the posting in question is linked to a media)
String postingId ID of the posting on the sending node
String ownerName name of the reaction owner
String ownerFullName full name of the reaction owner
String ownerGender gender of the reaction owner
AvatarImage ownerAvatar avatar of the reaction owner
boolean negative true, if the reaction is negative, false, if positive
Validation errors:
Code Description
reaction.parent-posting-id.wrong-size parentPostingId is longer than 40 characters
reaction.parent-comment-id.wrong-size parentCommentId is longer than 40 characters
reaction.parent-media-id.wrong-size parentMediaId is longer than 40 characters
reaction.posting-id.wrong-size postingId is longer than 40 characters
reaction.owner-name.wrong-size ownerName is longer than 63 characters
reaction.owner-full-name.wrong-size ownerFullName is longer than 96 characters
reaction.owner-gender.wrong-size ownerGender is longer than 31 characters

POSTING_REACTION_DELETED_ALL

Deleted all reactions from a posting owned by the receiver.

Type Field Comment
String parentPostingId ID of the posting containing the media or containing the comment that contains the media linked to the posting in question (present only if the posting in question is linked to a media)
String parentCommentId ID of the comment containing the media linked to the posting in question (present only if the posting in question is linked to a media attached to a comment)
String parentMediaId ID of the media linked to the posting in question (present only if the posting in question is linked to a media)
String postingId ID of the posting on the sending node
Validation errors:
Code Description
reaction.parent-posting-id.wrong-size parentPostingId is longer than 40 characters
reaction.parent-comment-id.wrong-size parentCommentId is longer than 40 characters
reaction.parent-media-id.wrong-size parentMediaId is longer than 40 characters
reaction.posting-id.wrong-size postingId is longer than 40 characters

POSTING_REACTIONS_UPDATED

Reactions have been updated at the posting the receiver is subscribed to.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String postingId ID of the posting on the sending node
ReactionTotalsInfo totals updated reaction totals of the posting
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters

POSTING_UPDATED

Posting the receiver is subscribed to has been updated.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String postingId ID of the posting on the sending node
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
posting.posting-id.wrong-size postingId is longer than 40 characters

PROFILE_UPDATED

Sender's profile the receiver is subscribed to has been updated.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters

REPLY_COMMENT_ADDED

A reply to a comment of the receiver on the sending node added.

Type Field Comment
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
String repliedToId ID of the comment on the sending node that is replied to
String postingOwnerName name of the posting owner
String postingOwnerFullName full name of the posting owner
String postingOwnerGender gender of the posting owner
AvatarImage postingOwnerAvatar avatar of the posting owner
String postingHeading heading of the posting
String[] postingSheriffs list of sheriffs supervising the posting
SheriffMark[] postingSheriffMarks list of sheriff marks on the posting
String commentOwnerName name of the comment owner
String commentOwnerFullName full name of the comment owner
String commentOwnerGender gender of the comment owner
AvatarImage commentOwnerAvatar avatar of the comment owner
String commentHeading heading of the comment
SheriffMark[] commentSheriffMarks list of sheriff marks on the comment
String repliedToHeading heading of the comment that is replied to
Validation errors:
Code Description
comment.posting-id.wrong-size postingId is longer than 40 characters
comment.comment-id.wrong-size commentId is longer than 40 characters
comment.replied-to-id.wrong-size repliedToId is longer than 40 characters
comment.posting-owner-name.wrong-size postingOwnerName is longer than 63 characters
comment.posting-owner-full-name.wrong-size postingOwnerFullName is longer than 96 characters
comment.posting-owner-gender.wrong-size postingOwnerGender is longer than 31 characters
comment.posting-heading.wrong-size postingHeading is longer than 255 characters
comment.comment-owner-name.wrong-size commentOwnerName is longer than 63 characters
comment.comment-owner-full-name.wrong-size commentOwnerFullName is longer than 96 characters
comment.comment-owner-gender.wrong-size commentOwnerGender is longer than 31 characters
comment.comment-heading.wrong-size commentHeading is longer than 255 characters
comment.replied-to-heading.wrong-size repliedToHeading is longer than 255 characters

REPLY_COMMENT_DELETED

A reply to a comment of the receiver on the sending node deleted.

Type Field Comment
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
String repliedToId ID of the comment on the sending node that is replied to
String commentOwnerName name of the comment owner
String commentOwnerFullName full name of the comment owner
String commentOwnerGender gender of the comment owner
AvatarImage commentOwnerAvatar avatar of the comment owner
Validation errors:
Code Description
comment.posting-id.wrong-size postingId is longer than 40 characters
comment.comment-id.wrong-size commentId is longer than 40 characters
comment.replied-to-id.wrong-size repliedToId is longer than 40 characters
comment.comment-owner-name.wrong-size commentOwnerName is longer than 63 characters
comment.comment-owner-full-name.wrong-size commentOwnerFullName is longer than 96 characters
comment.comment-owner-gender.wrong-size commentOwnerGender is longer than 31 characters

SEARCH_ENGINE_CLICKED

The receiver's posting/comment/media has been visited on the sending node from a search engine.

Type Field Comment
String searchEngine the search engine (see SearchEngine for the list of possible values)
String postingId ID of the posting on the sending node
String commentId ID of the comment on the sending node
String mediaId ID of the media on the sending node
String heading heading of the posting/comment/media
timestamp clickedAt the real time when the posting/comment/media was visited
Validation errors:
Code Description
search.search-engine.missing searchEngine is missing
search.posting-id.wrong-size postingId is longer than 40 characters
search.comment-id.wrong-size commentId is longer than 40 characters
search.media-id.wrong-size mediaId is longer than 40 characters
search.heading.empty heading is empty
search.heading.wrong-size heading is longer than 255 characters
search.clicked-at.missing clickedAt is missing

SHERIFF_COMPLAINT_DECIDED

The sheriff made a decision on the receiver's complaint.

Type Field Comment
String remoteNodeName name of the node the complaint is related to
String remoteFeedName name of the feed the complaint is related to
String postingOwnerName posting owner's node name
String postingOwnerFullName posting owner's full name
String postingHeading heading of the posting
String postingId ID of the posting the complaint is related to
String commentOwnerName comment owner's node name
String commentOwnerFullName comment owner's full name
String commentHeading heading of the comment
String commentId ID of the comment the complaint is related to
String complaintGroupId ID of the group of complaints the complaint was included into
Validation errors:
Code Description
sheriff-complaint.remote-node-name.empty remoteNodeName is empty
sheriff-complaint.remote-node-name.wrong-size remoteNodeName is longer than 63 characters
sheriff-complaint.remote-feed-name.empty remoteFeedName is empty
sheriff-complaint.remote-feed-name.wrong-size remoteFeedName is longer than 63 characters
sheriff-complaint.posting-owner-name.wrong-size postingOwnerName is longer than 63 characters
sheriff-complaint.posting-owner-full-name.wrong-size postingOwnerFullName is longer than 96 characters
sheriff-complaint.posting-heading.wrong-size postingHeading is longer than 255 characters
sheriff-complaint.posting-id.wrong-size postingId is longer than 40 characters
sheriff-complaint.comment-owner-name.wrong-size commentOwnerName is longer than 63 characters
sheriff-complaint.comment-owner-full-name.wrong-size commentOwnerFullName is longer than 96 characters
sheriff-complaint.comment-heading.wrong-size commentHeading is longer than 255 characters
sheriff-complaint.comment-id.wrong-size commentId is longer than 40 characters
sheriff-complaint.complaint-group-id.empty complaintGroupId is empty
sheriff-complaint.complaint-group-id.wrong-size complaintGroupId is longer than 40 characters

SHERIFF_ORDER_FOR_COMMENT_ADDED

The sending node got a sheriff's order related to the receiver's comment.

Type Field Comment
String remoteNodeName name of the node the order was sent to
String remoteFeedName name of the feed the order is related to
String postingOwnerName posting owner's node name
String postingOwnerFullName posting owner's full name
String postingHeading heading of the posting
String postingId ID of the posting the order is related to
String commentHeading heading of the comment
String commentId ID of the comment the order is related to
String orderId ID of the order
Validation errors:
Code Description
sheriff-order.remote-node-name.empty remoteNodeName is empty
sheriff-order.remote-node-name.wrong-size remoteNodeName is longer than 63 characters
sheriff-order.remote-feed-name.empty remoteFeedName is empty
sheriff-order.remote-feed-name.wrong-size remoteFeedName is longer than 63 characters
sheriff-order.posting-owner-name.empty postingOwnerName is empty
sheriff-order.posting-owner-name.wrong-size postingOwnerName is longer than 63 characters
sheriff-order.posting-owner-full-name.wrong-size postingOwnerFullName is longer than 96 characters
sheriff-order.posting-heading.wrong-size postingHeading is longer than 255 characters
sheriff-order.posting-id.empty postingId is empty
sheriff-order.posting-id.wrong-size postingId is longer than 40 characters
sheriff-order.comment-heading.wrong-size commentHeading is longer than 255 characters
sheriff-order.comment-id.empty commentId is empty
sheriff-order.comment-id.wrong-size commentId is longer than 40 characters
sheriff-order.order-id.empty orderId is empty
sheriff-order.order-id.wrong-size orderId is longer than 40 characters

SHERIFF_ORDER_FOR_COMMENT_DELETED

The sending node got a cancellation of a sheriff's order related to the receiver's comment.

Type Field Comment
String remoteNodeName name of the node the order was sent to
String remoteFeedName name of the feed the order is related to
String postingOwnerName posting owner's node name
String postingOwnerFullName posting owner's full name
String postingHeading heading of the posting
String postingId ID of the posting the order is related to
String commentHeading heading of the comment
String commentId ID of the comment the order is related to
String orderId ID of the order
Validation errors:
Code Description
sheriff-order.remote-node-name.empty remoteNodeName is empty
sheriff-order.remote-node-name.wrong-size remoteNodeName is longer than 63 characters
sheriff-order.remote-feed-name.empty remoteFeedName is empty
sheriff-order.remote-feed-name.wrong-size remoteFeedName is longer than 63 characters
sheriff-order.posting-owner-name.empty postingOwnerName is empty
sheriff-order.posting-owner-name.wrong-size postingOwnerName is longer than 63 characters
sheriff-order.posting-owner-full-name.wrong-size postingOwnerFullName is longer than 96 characters
sheriff-order.posting-heading.wrong-size postingHeading is longer than 255 characters
sheriff-order.posting-id.empty postingId is empty
sheriff-order.posting-id.wrong-size postingId is longer than 40 characters
sheriff-order.comment-heading.wrong-size commentHeading is longer than 255 characters
sheriff-order.comment-id.empty commentId is empty
sheriff-order.comment-id.wrong-size commentId is longer than 40 characters
sheriff-order.order-id.empty orderId is empty
sheriff-order.order-id.wrong-size orderId is longer than 40 characters

SHERIFF_ORDER_FOR_POSTING_ADDED

The sending node got a sheriff's order related to the receiver's posting.

Type Field Comment
String remoteNodeName name of the node the order was sent to
String remoteFeedName name of the feed the order is related to
String postingHeading heading of the posting
String postingId ID of the posting the order is related to
String orderId ID of the order
Validation errors:
Code Description
sheriff-order.remote-node-name.empty remoteNodeName is empty
sheriff-order.remote-node-name.wrong-size remoteNodeName is longer than 63 characters
sheriff-order.remote-feed-name.empty remoteFeedName is empty
sheriff-order.remote-feed-name.wrong-size remoteFeedName is longer than 63 characters
sheriff-order.posting-heading.wrong-size postingHeading is longer than 255 characters
sheriff-order.posting-id.empty postingId is empty
sheriff-order.posting-id.wrong-size postingId is longer than 40 characters
sheriff-order.order-id.empty orderId is empty
sheriff-order.order-id.wrong-size orderId is longer than 40 characters

SHERIFF_ORDER_FOR_POSTING_DELETED

The sending node got a cancellation of a sheriff's order related to the receiver's posting.

Type Field Comment
String remoteNodeName name of the node the order was sent to
String remoteFeedName name of the feed the order is related to
String postingHeading heading of the posting
String postingId ID of the posting the order is related to
String orderId ID of the order
Validation errors:
Code Description
sheriff-order.remote-node-name.empty remoteNodeName is empty
sheriff-order.remote-node-name.wrong-size remoteNodeName is longer than 63 characters
sheriff-order.remote-feed-name.empty remoteFeedName is empty
sheriff-order.remote-feed-name.wrong-size remoteFeedName is longer than 63 characters
sheriff-order.posting-heading.wrong-size postingHeading is longer than 255 characters
sheriff-order.posting-id.empty postingId is empty
sheriff-order.posting-id.wrong-size postingId is longer than 40 characters
sheriff-order.order-id.empty orderId is empty
sheriff-order.order-id.wrong-size orderId is longer than 40 characters

STORY_ADDED

A new story has been added to a feed the receiver is subscribed to.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String storyId ID of the story on the sending node
String feedName name of the feed on the sending node
String storyType type of the story (see StoryType for the list of possible values)
String postingId ID of the posting on the sending node, if the story is related to a posting
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
story.story-id.wrong-size storyId is longer than 40 characters
story.feed-name.wrong-size feedName is longer than 63 characters
story.posting-id.wrong-size postingId is longer than 40 characters

USER_LIST_ITEM_ADDED

A node was added to a user list the receiver is subscribed to.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String listName name of the user list
String nodeName name of the node
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
user-list.list-name.wrong-size listName is longer than 63 characters
user-list.node-name.wrong-size nodeName is longer than 63 characters

USER_LIST_ITEM_DELETED

A node was deleted from a user list the receiver is subscribed to.

Type Field Comment
String subscriberId subscriber ID of the receiving node on the sending node
String listName name of the user list
String nodeName name of the node
Validation errors:
Code Description
subscriber.subscriber-id.wrong-size subscriberId is longer than 40 characters
user-list.list-name.wrong-size listName is longer than 63 characters
user-list.node-name.wrong-size nodeName is longer than 63 characters