The syntax for filtering objects by specific fields is:
{{ url }}?<field name>=<oper>:<value>[&<field name>=<oper>:<value>]*
The following fields can be used for filtering:
These are the operators that can be used in filters:
Operator |
Expects |
Description |
{% for operator in operators %}
{{ operator }} |
{{ operator.get_expected_value_description }} |
{{ operator.description }} |
{% endfor %}
Notes:
- When filtering on more than one field, the conditions are ANDed together.
- String comparisons are case sensitive except for the like operator.
- Datetime values should be specified in ISO-8601 format: yyyy-mm-dd[Thh:mm[:ss][Z]].
For example 2014-01-17 or 2014-12-31T23:59:59Z
- To filter on boolean fields use 1 for true and 0 for false.
- Lists of values should be comma-separated, and optionally enclosed in parentheses or square brackets.
For example red,blue,green or [red,blue,green]