Skip to main content

Moment Structure

PropertyTypeDescriptionVersion
momentIdStringMoment ID, globally unique1.8.30
contentStringMoment text content1.8.30
mediaListList<MomentMedia>List of media file URLs for the Moment (images, videos, and more). See the following MomentMedia structure.1.8.30
userInfoUserInfoUser who published the Moment1.8.30
commentListList<MomentComment>First 20 comments. See the following MomentComment structure.1.8.30
reactionListList<MomentReaction>List of likes or other custom reactions for the Moment. See the following MomentReaction structure.1.8.30
createTimelongMoment creation time, in milliseconds1.8.30

MomentMedia Structure

PropertyTypeDescriptionVersion
typeMomentMediaTypeMoment media type1.8.30
urlStringOriginal image URL or video URL1.8.30
snapshotUrlStringThumbnail for an image Moment or first-frame thumbnail for a video Moment1.8.30
heightintImage or video height1.8.30
widthintImage or video width1.8.30
durationintVideo duration. Applies only to video Moments.1.8.30

MomentComment Structure

PropertyTypeDescriptionVersion
commentIdStringUnique comment ID1.8.30
momentIdStringMoment ID1.8.30
parentCommentIdStringParent comment ID. For a reply, this is the replied-to comment ID; for a root comment, it is an empty string.1.8.30
contentStringComment text content1.8.30
userInfoUserInfoComment user information1.8.30
parentUserInfoUserInfoParent comment user information. It is an empty object when there is no parent comment.1.8.30
createTimelongComment publication time, in milliseconds1.8.30

MomentReaction Structure

PropertyTypeDescriptionVersion
keyStringLike or custom reaction value, for example like, dislike, or collect1.8.30
userListList<UserInfo>Users who performed the like operation1.8.30