> 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: Introduction

## Article: Introduction

## Article Link: https://dev.wix.com/docs/api-reference/crm/community/feedback-moderation/comments/comment-content-revision-v1/introduction.md

## Article Content:

# About the Comment Content Revisions API

The Comment Content Revisions API retrieves earlier versions of a comment's rich
content.

With the Comment Content Revisions API, you can:

- List the saved earlier content versions of a comment.
- Build an edit-history view alongside the comment's current content.

A revision is a saved earlier content version, not the current comment object or
its optimistic-concurrency `revision` number. Read the current content using the
[Comments API](https://dev.wix.com/docs/api-reference/crm/community/feedback-moderation/comments/comments/introduction.md). The history response can contain no revisions for a comment that
has not yet produced a saved earlier version.

## Before you begin

It's important to note the following points before starting to code:

- Provide the comment ID and authentication for its site. Each request checks access to the current comment, including requests for subsequent pages. A denied or missing comment fails the request.
- History can contain content that differs from the current comment. Updates are asynchronous, so a recent edit might not appear immediately.
- Deleting a comment triggers deletion of its history. Don't use this API as a permanent audit archive or draft store.

## Pagination and sorting

List Comment Content Revisions defaults to 20 entries, sorted by history record creation time
ascending. `createdDate` is the supported sorting field. Use the cursor in
`pagingMetadata.cursors.next` to load subsequent pages. Omit `sort` on subsequent
pages: the cursor retains the original ordering, but a supplied unsupported sort
field still fails validation.

The returned `createdDate` uses the saved content's date when available, falling
back to the history record's creation date. It is not necessarily the time the
history service stored the entry.

## Use cases

- [Display a comment's edit history](https://dev.wix.com/docs/api-reference/crm/community/feedback-moderation/comments/comment-content-revision-v1/sample-flows.md#display-a-comments-edit-history).
- [Refresh history after an edit](https://dev.wix.com/docs/api-reference/crm/community/feedback-moderation/comments/comment-content-revision-v1/sample-flows.md#refresh-history-after-an-edit).

## See also

- [List Comment Content Revisions](https://dev.wix.com/docs/api-reference/crm/community/feedback-moderation/comments/comment-content-revision-v1/list-comment-content-revisions.md).

