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.

Hide block

Format and operators

The filter has the following format:  property[operator]=value . For example, http://<domain>/.rest/delivery/pages/v1?title[like]=tour .

If no operator is provided, eq is used by default. Please mind that the brackets should be URL-encoded for some tools.

Supported operators:

  • ne means <>
  • eq means =
  • lt means <
  • lte means <=
  • gt means >
  • gte means >=
  • like means LIKE
  • in means IN
  • not-in means NOT IN

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

http:///.rest/delivery/pages/v1?mgnl:created[in]=2018-01-01~2018-02-01

For filtering by time, only two formats (ISO 8601) are accepted:

  • Date: yyyy-MM-dd
  • Datetime: yyyy-MM-dd'T'HH:mm:ss.SSSXXX
    (Example: 2018-01-01 2018-01-11T10:26:47.438+07:00 )

Property filter

Filter for a property of the node. Thev value for the property must be an exact match.

...