Matches objects with member values that evaluate to true, when compared to the given regex.
Example Requests
Description | Endpoint |
---|---|
Find all Events in the given Stream where the value of the element title matches the regex /[cC]lojure/ : | curl 'https://octave-api.sierrawireless.io/v5.0/<company_name>/event/<stream_id>' -d 'filter=elems.title="~/[cC]lojure/"' |
Find all Streams where the value of the path starts with /acme/ : | curl 'https://octave-api.sierrawireless.io/v5.0/<company_name>/stream' -d 'filter=path="~/^\/acme\//"' |
Find child Streams of the Stream whose path is /acme/ : | curl 'https://octave-api.sierrawireless.io/v5.0/<company_name>/stream' -d 'filter=path="~/^\/acme\/[^\/]*$"' |
Find all Cloud Actions feeding Streams whose path starts with /acme/ : | curl 'https://octave-api.sierrawireless.io/v5.0/<company_name>/stream' -d 'filter=destination="~/^\/acme\//"' |