> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Comments

# Type: Comment Object

# Link: https://dev.wix.com/docs/api-reference/crm/community/feedback-moderation/comments/comments/comment-object.md

## Description: 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.

## Schema:

```json
 Type: Comment Object | type: Comment
 Description: 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.
       - name: id  | type: string | description: Comment ID.
           - name: value  | type: string | description: 
       - name: revision  | type: string | description: 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.
           - name: value  | type: string | description: 
       - name: createdDate  | type: string | description: 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.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the comment was last updated.
       - name: appId  | type: string | description: ID of the app that the comment is added to.
       - name: contextId  | type: string | description: 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`.
       - name: resourceId  | type: string | description: 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`.
       - name: content  | type: CommentContent | description: Published comment content.
           - name: richContent  | type: RichContent | description: Comment rich content.  <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" exampleid="5693ba57-d141-42bf-a0d6-1eb11c73bddf" plugins="emoji.heading.indent.lineSpacing.actionButton.audio.codeBlock.collapsibleList.divider.file.gallery.giphy.hashtag.html.image.link.linkButton.linkPreview.mentions.poll.spoiler.table.textColor.textHighlight.verticalEmbed.video"> <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See.md Ricos document reference</a> </widget>
               - name: nodes  | type: Array<Node> | description: Node objects representing a rich content document.
               - name: metadata  | type: Metadata | description: Object metadata.
               - name: documentStyle  | type: DocumentStyle | description: Global styling for header, paragraph, block quote, and code block nodes in the object.
           - name: mentions  | type: Array<Mention> | description: People to tag with this comment.  People can include users, members, visitors, or groups.
               - ONE-OF:
                   - name: userId  | type: string | description: Wix user ID.
                   - name: memberId  | type: string | description: Member ID. See the Members API for more details.
                   - name: visitorId  | type: string | description: Visitor ID.
                   - name: groupId  | type: string | description: Group ID. See the Groups API for more details.
           - name: attachments  | type: Array<Attachment> | description: Content attachments.
               - name: mimeType  | type: string | description: Mime type of attachment.
               - ONE-OF:
                   - name: image  | type: Image | description: Information about the image.
                   - name: video  | type: VideoV2 | description: Information about the video.
                   - name: audio  | type: Audio | description: Information about the audio.
                   - name: document  | type: Document | description: Information about the document.
       - name: draftContent  | type: CommentContent | description: Unpublished comment content.
       - name: author  | type: CommentAuthor | description: Comment's author.
           - ONE-OF:
               - name: userId  | type: string | description: Wix user ID.
               - name: memberId  | type: string | description: Member ID. See the Members API for more details.
               - name: visitorId  | type: string | description: Visitor ID.
       - name: parentComment  | type: ParentComment | description: Parent comment information.  Only present if this comment is in a direct reply to another comment. See **Terminology** in the Comments introduction for more information about parent comments.
           - name: id  | type: string | description: Comment ID of the parent comment.
           - name: author  | type: CommentAuthor | description: Author of the parent comment.
           - name: status  | type: string | description: Parent comment status.
               enum: UNKNOWN, PUBLISHED, DELETED, PENDING, HIDDEN
       - name: replyCount  | type: number | description: Number of comments that reply to this comment.
       - name: voteSummary  | type: VoteSummary | description: Summary of votes.
           - name: netVoteCount  | type: number | description: Number of upvotes less downvotes on this comment.
           - name: upvoteCount  | type: number | description: Number of upvotes on this comment.
           - name: downvoteCount  | type: number | description: Number of downvotes on this comment.
       - name: status  | type: string | description: Comment status.
       - name: rating  | type: number | description: Comment rating.
           - name: value  | type: number | description: 
       - name: reactionSummary  | type: CommentReactionSummary | description: Summary of reactions.
           - name: total  | type: number | description: Total amount of reactions.
           - name: reactionCodeCount  | type: object | description: Number of each type of reaction. `key` is the code for a reaction type and `value` is the amount of that reaction type.
       - name: marked  | type: boolean | description: Whether the comment is marked.
       - name: commentDate  | type: string | description: Date and time when the comment was actually created.
       - name: contentEdited  | type: boolean | description: Whether the comment has the updated content.
           - name: value  | type: boolean | description: 

```