Comment Object


Properties
idstringRead-onlyformat GUID

Comment ID.


revisionRevisionRead-only

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.


updatedDatestringRead-onlyformat date-time

Date and time the comment was last updated.


appIdstring

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.


contextTypestringmaxLength 128

Reserved for internal use.


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 direct reply to another comment. See Terminology for more information about parent comments.


replyCountintegerRead-only

Amount of comments that reply to this comment.


voteSummaryVoteSummary

Summary of votes.


statusstringRead-only

Comment status.

Supported values:

  • "PUBLISHED": This comment is published and publicly visible.
  • "DELETED": This comment is deleted.
  • "PENDING": This comment is pending moderation. Moderation is not currently supported.
  • "HIDDEN": This comment has been hidden by a site moderator.

ratingintegerRead-onlyformat int32

Comment rating.


reactionSummaryReactionSummary

Summary of reactions.


markedboolean

Whether the comment is marked.

Did this help?