PUT: /metadata/series

Write the given series metadata.

application/json

Structure
Field Type Purpose
key  <string> The key of the series.
tags  {<string>: <string>} The tags of the series.

Example Request


          {"key": "foo", "tags": {"site": "sto"}}

      

Example Curl


          $ curl -XPUT -H "Content-Type: application/json"
        http://localhost:8080/metadata/series \
          -d '{"key": "foo", "tags": {"site": "sto"}}'
      

Example 200 Response

Status: 200, Content-Type: application/json

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