consul-api
consul-api copied to clipboard
Filter parameter is not supported
I would like to make calls using the filter parameter, for example:
curl -G localhost:8500/v1/catalog/service/api-internal --data-urlencode 'filter=NodeMeta.os == linux'
is an example of filtering the result of a catalog service request to only those with NodeMeta key "os" with value "linux". I can't see any way to do this with this library. Is it a missing feature or am I missing something about its usage?
Would be nice to have this one since now Consul is pushing all queries in this direction with filters. Tag and node-meta are deprecated