Query for available tag combinations.
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/tags \
-d '{"filter": ["and", ["key", "system"], ["=", "role", "database"]]}'
{
"result": {
"role": ["database", "webfrontend"],
"host": ["database.example.com", "webfrontend.example.com"]
},
"sampleSize": 2
}