ShareEntity Type

Describes a share. A share can be for either content or a container. Typically, if content was shared, then ShareEntity.getSharedContentSummary() will return non-null, while ShareEntity.getSharedContainerSummary() will return null. Vice versa for the case when a container was shared.

Fields

FieldTypeDescription
IDLong
authorUserSummaryReturns the content author summary.
bookmarkCountInteger
contentContentBodyEntityReturns the content body.
creationDateDateThe creation date of the entity
likeCountIntegerReturns the number of users that have liked the content
linksMapLinks (URIs) relevant to the entity. A link may for example point to additional information about the entity or allow the user to perform related actions.
modificationDateDateThe modification date of the entity
participantsList of UserSummaryReturns the participants in the communication. All participants are permitted to both view and reply to the message. The originating user is available from ShareEntity.getAuthor() and is thus not included in the list of participants. Ordering on the returned participants is by user ID.
replyCountIntegerReturns the number of replies which users have posted to this content. Replies allow for a discussion surrounding the content object and allow for the author of the content to gauge what other users of the community thought of it.
resourcesMapLinks to actions which can be taken on the current entity. The embedded link contains information about what methods are available on the given link.
sharedContainerSummarycontainer
sharedContentSummaryContentEntitySummary
statusStringReturns the content status, e.g. published or draft.
subjectStringReturns the content's subject. The subject may not be available for all content objects, e.g. comments.
typeString
viewCountIntegerThe view count of the entity