Retrieves a list of comments, given the provided paging, filtering, and sorting.
Query Comments runs with these defaults, which you can override:
id sorted in ASC orderTo learn about working with Query endpoints, see API Query Language, Sorting and Paging, and Field Projection.
| Property | Filters | Sort |
|---|---|---|
id | $eq, $ne, $in | None |
contextId | $eq, $ne, $in | None |
resourceId | $eq, $ne, $in | None |
author.userId | $eq, $ne, $in | None |
author.memberId | $eq, $ne, $in | None |
author.visitorId | $eq, $ne, $in | None |
parentComment.id | $eq, $ne, $in | None |
replyCount | $eq, $ne, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
status | $eq, $ne, $in | None |
voteSummary.netVoteCount | $eq, $ne, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
rating | $eq, $ne, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
reactionSummary.total | $eq, $ne, $lt, $lte, $gt, $gte | Sort: ASC, DESC |
marked | $eq, $ne | Sort: ASC, DESC |
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.