Skip to main content

Activity

VARIABLETYPEDESCRIPTIONOPTIONAL
idStringID of the activity.
actionIntAction that triggered this activity.
actionByList<String>List of unique ids of users whose actions are included in the activity.
actionOnStringID of the user for whom this activity is generated.
activityTextStringText content for the activity.
createdAtLongTimestamp when the activity was created.
ctaStringCall to action for the activity.
entityIdStringID of the entity for which activity is generated.
entityOwnerIdStringID of the entity creator for which activity is generated.
entityTypeIntType of entity for which activity is generated.
isReadBooleanTrue if the notification is read already, false otherwise.
updatedAtLongTimestamp when the activity was last updated.
activityEntityDataActivityEntityDataData of the entity.
uuidStringUnique ID of like creator.

ActivityEntityData

VARIABLETYPEDESCRIPTIONOPTIONAL
idStringID of the entity.
textStringText content in the entity.
deleteReasonStringReason for deletion of entity.
deletedByStringID of the user who delete the entity.
headingStringHeading for the entity
attachmentsList<Attachment>List of attachments in the entity.
communityIdIntID of the community where the entity was created.
isEditedBooleanTrue if the entity was edited, false otherwise.
isPinnedBooleanTrue if entity was pinned false otherwise.
postIdStringID of the post related to the entity.
userIdStringID of the entity creator.
repliesList<Comment>List of replies to the entity.
levelIntLevel of comment if entity is a comment.
createdAtLongTimestamp when the entity was created.
updatedAtLongTimestamp when the entity was last updated.
uuidStringUnique ID of like creator.
deleteByUUIDStringID of the user who delete the entity.