Combining filters

Filters can be combined using logical &&, logical || and grouped.

Example Requests

DescriptionEndpoint
Find all Cloud Actions to a Stream whose path is /acme/destStream that contain a filter:curl 'https://octave-api.sierrawireless.io/v5.0/<company_name>/action' -d 'filter="destination==\"/acme/destStream\" && EXISTS filter"'
Find all Events in the given Stream with a on-hand element whose value is over 100 and state is not cancelled:curl 'https://octave-api.sierrawireless.io/v5.0/<company_name>/event/stream_id>' -d 'filter="elems.on-hand>100 && NOT elems.state==\"canceled\""'
Finds all Cloud Actions from /acme/sourceStream to Streams whose paths start with /a or end with b:curl 'https://octave-api.sierrawireless.io/v5.0/<company_name>/action' -d 'filter="source==\"/acme/sourceStream\" && (destination=~/^\/a/ || destination=~/b$/)"'