POST

Query Votes


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of votes, given the provided paging and filtering.

Visitor and member callers receive their own votes in the specified app and context. Authorized application callers can retrieve votes from multiple identities in that context. Filter by resourceId, using $in to retrieve votes for multiple comment IDs. Results don't include comments without a matching vote.

Specify query.cursorPaging.limit to control the page size. To retrieve the next page, set query.cursorPaging.cursor to the returned paging.cursors.next and keep the same context. Offset paging and field projection aren't supported. Don't depend on a particular result order.

To learn about working with Query methods, see API Query Language and Sorting and Paging. Retain the permission checked by RequestContextResolver for app identities.

PropertyFiltersSort
resourceId$eq, $ne, $inNone
Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
Read comment votes
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/v1/votes

Errors
400Invalid Argument

There are 2 errors with this status code.

403Permission Denied

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

Did this help?