POST

Query Rules


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 rules, given the provided paging, filtering, and sorting.

  • createdDate is sorted in ASC order
  • paging.limit is 100
  • paging.offset is 0

Up to 1,000 rules can be returned per request.

For field support for filters and sorting, see Rules: Supported Filters and Sorting. To learn about working with Query endpoints, see API Query Language.

Authentication

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

Permissions
Manage Moderation Rules
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/moderation/v1/rules/query

Body Params
queryQuery

Query options. See API Query Language for more details.

Response Object
rulesArray <Rule>maxItems 100

List of rules.


pagingMetadataPagingMetadata

Paging metadata.

Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?