Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

queryNodes provides a filtering mechanism. Filters are added as request parameters. Filter values must be properly URL encoded. You can use multiple filters within the same request.

Format and operators

Format

The filter parameter has the following format:

Code Block
property[operator]=value

Example in a URL:

Code Block
https://example.com/.rest/delivery/pages/v1?title[like]=tour

If no operator is provided, eq is used by default. The value in the filter parameter is treated as String .

Supported operators

...

  • eq means =
  • ne means <>
  • lt means <
  • gt means >
  • lte means <=
  • gte means >=
  • like means LIKE
  • in means IN
  • not-in means NOT IN
Usage notes
  • If no operator is provided, eq is used by default.

  • The value in the filter parameter is treated as String .

  • Use brackets to pass an operator, for example [eq], [ne], [lt], and so on.

  • For in and not-in, a range symbol ~ (the tilde) should be provided, for example:

    Code Block
    https://example.com/.rest/delivery/pages/v1?mgnl:created[in]=2018-01-01~2018-02-01

...