Magnolia 5.6 reached end of life on June 25, 2020. This branch is no longer supported, see End-of-life policy.
...
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 |
price[in]=100~200
is interpreted as price >= 100 AND price <= 200
.Date: yyyy-MM-dd
Code Block |
---|
2018-01-01 |
Datetime: yyyy-MM-dd'T'HH:mm:ss.SSSXXX
Code Block |
---|
2018-01-11T10:26:47.438+07:00 |
If a filter can take multiple possible values which must match, use |
(OR):
Code Block |
---|
@name=travel|about |
...