A comment is a user-generated message in response to a specific resource. It allows site visitors
to share feedback or engage in discussions around different types of resources, including blog posts, forum threads,
or other site content. Comments are composed of text, images, videos, or other forms of media.
Properties
idstringRead-onlyformat GUID
Comment ID.
revisionintegerRead-onlyformat int64
Revision number, which increments by 1 each time the comment is updated.
To prevent conflicting changes, the current revision must be passed when updating the comment.
createdDatestringRead-onlyformat date-time
Date and time the comment was created.
Note: This is the date from the system database, not the actual date when the comment was created. For example, if you migrate comments created in 2016, the createdDate field will show the current year. For the actual creation date, see the commentDate field.
updatedDatestringRead-onlyformat date-time
Date and time the comment was last updated.
appIdstringformat GUID
ID of the app that the comment is added to.
contextIdstringmaxLength 128
ID of the specific context the comment is in response to.
Within some Wix apps, the contextId will be the same as the resourceId. For example in Wix Forum,
the forumPostId is used as both the contextId and the resourceId.
resourceIdstringmaxLength 128
ID of the specific resource that the comment is in response to.
Within some Wix apps, the resourceId will be the same as the contextId. For example in Wix Forum,
the forumPostId is used as both the resourceId and the contextId.
contentContent
Published comment content.
authorAuthor
Comment's author.
parentCommentParentComment
Parent comment information.
Only present if this comment is in a direct reply to another comment.
See Terminology
for more information about parent comments.
replyCountintegerRead-only
Number of comments that reply to this comment.
voteSummaryVoteSummaryRead-only
Summary of votes.
statusstringRead-only
Comment status.
ratingintegerRead-onlyformat int32
Comment rating.
reactionSummaryReactionSummaryRead-only
Summary of reactions.
markedboolean
Whether the comment is marked.
commentDatestringformat date-time
Date and time when the comment was actually created.
Comment Object
A comment is a user-generated message in response to a specific resource. It allows site visitors to share feedback or engage in discussions around different types of resources, including blog posts, forum threads, or other site content. Comments are composed of text, images, videos, or other forms of media.
Comment ID.
Revision number, which increments by 1 each time the comment is updated.
To prevent conflicting changes, the current
revision
must be passed when updating the comment.Date and time the comment was created.
Note: This is the date from the system database, not the actual date when the comment was created. For example, if you migrate comments created in 2016, the
createdDate
field will show the current year. For the actual creation date, see thecommentDate
field.Date and time the comment was last updated.
ID of the app that the comment is added to.
ID of the specific context the comment is in response to.
Within some Wix apps, the
contextId
will be the same as theresourceId
. For example in Wix Forum, theforumPostId
is used as both thecontextId
and theresourceId
.ID of the specific resource that the comment is in response to.
Within some Wix apps, the
resourceId
will be the same as thecontextId
. For example in Wix Forum, theforumPostId
is used as both theresourceId
and thecontextId
.Published comment content.
Comment's author.
Parent comment information.
Only present if this comment is in a direct reply to another comment. See Terminology for more information about parent comments.
Number of comments that reply to this comment.
Summary of votes.
Comment status.
Comment rating.
Summary of reactions.
Whether the comment is marked.
Date and time when the comment was actually created.
Whether the comment has the updated content.