POST: /metadata/series

Get all series metadata matching the given filter.

application/json

Structure
Field Type Purpose
filter  required Filter A filter to use when quering for tags.
limit  Limit Limit the response

Example Request


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

      

Example Curl


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

Example 200 Response

Status: 200, Content-Type: application/json

          [
  {"key": "foo", "tags": {"site": "lon"}},
  {"key": "foo", "tags": {"site": "sto"}}
]