POST: /metadata/tags

Query for available tag combinations.

application/json

Structure
Field Type Purpose
filter  required Filter A filter to use when quering for tags.

Example Request


          {"filter": ["and", ["key", "system"], ["=", "role", "database"]]}

      

Example Curl


          $ curl -XPOST -H "Content-Type: application/json"
        http://localhost:8080/metadata/tags \
          -d '{"filter": ["and", ["key", "system"], ["=", "role", "database"]]}'
      

Example 200 Response

Status: 200, Content-Type: application/json

          {
  "result": {
    "role": ["database", "webfrontend"],
    "host": ["database.example.com", "webfrontend.example.com"]
  },
  "sampleSize": 2
}