Filter operators

Table 1.
Operator Description
and

Matches if all of the filters in the list match "values" a list of filters.

Example:

{"type":"and", "values": [{"type":”defined”, “value”:{"type":"field", 
"id":255}},{"type":”defined”, “value”:{"type":"field", "id":256}},{"type":”defined”, 
“value”:{"type":"field", "id":257}}]}
ci_like

Matches if the left filter is equivalent to the right part (case insensitive) "left" a filter "right" a filter.

Example:

{"type":"ci_like", "left":{"type":"field", "id":255}, 
"right":{"type":"string", "value":"mystring"}}
cs_like

Matches if the left filter is equivalent to the right part (case sensitive) "left" a filter "right" a filter.

Example:

{"type":"cs_like", "left":{"type":"field", "id":255}, 
"right":{"type":"string", "value":"mystring"}}
defined

Matches if the given filter value in parameter is defined "value" filter.

Example:

{"type":"defined", "value":{"type":"field", "id":255}}
in

Matches if the evaluation of the left part is equivalent to one of the element of the right part "left" a filter "right" a list of filters.

Example:

{"type": "in", "left": {"type": "field", "id" : 14}, "right": 
[{"type": "constant", "value":1 },{"type": "constant", "value":11 }]} 
not

Matches if the given filter as parameter do not match "value" a filter.

Example:

{"type":"not", "value": {"type":”defined”, “value”:{"type":"field", "id":255}}}
or

Matches if any of the filters in the list match "values" a list of filters.

Example:

{"type":"or", "values": [{"type":”defined”, “value”:{"type":"field", 
"id":255}},{"type":”defined”, “value”:{"type":"field", "id":256}},{"type":”defined”, 
“value”:{"type":"field", "id":257}}]}