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.
Comment Object
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.
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
.Reserved for internal use.
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 direct reply to another comment. See Terminology for more information about parent comments.
Amount of comments that reply to this comment.
Summary of votes.
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.Comment rating.
Summary of reactions.
Whether the comment is marked.