Solution
There have been included logical operators in order to use multiple filtering conditions in the Swagger UI. These are the AND and OR operators.
Their syntax consists of the following:
- AND operator: '&&' or 'and'.
- OR operator: '||' or 'or'.
Here are some examples:
AND:
- Example: "filter": "connected.data.state==\"CONNECTED\" and id==\"Precision_0000_Tower--SN-XXXXXXX--MAC-FF-FF-FF-FF-FF-FF\"",
- Example: "filter": "connected.data.state==\"CONNECTED\" && id==\"Precision_0000_Tower--SN-XXXXXXX--MAC-FF-FF-FF-FF-FF-FF\"",
OR:
- Example: "filter": "connected.data.state==\"CONNECTED\" or id==\"Precision_0000_Tower--SN-XXXXXXX--MAC-FF-FF-FF-FF-FF-FF\"",
- Example: "filter": "connected.data.state==\"CONNECTED\" || id==\"Precision_0000_Tower--SN-XXXXXXX--MAC-FF-FF-FF-FF-FF-FF\"",