Use to query for keys.
application/jsonField | Type | Purpose |
---|---|---|
filter
required
|
Filter
|
A filter to use when quering for tags. |
{"filter": ["and", ["key", "system"], ["=", "role", "database"]]}
$ curl -XPOST -H "Content-Type: application/json"
http://localhost:8080/metadata/keys \
-d '{"filter": ["and", ["key", "system"], ["=", "role", "database"]]}'
{
"result": ["foo", "bar"],
"sampleSize": 5
}