The goal is to create a new custom metric and replace the old RoR POST api/metrics
- POST api/metrics/create
- name (mandatory): name of the custom metric
- key (mandatory)
- type (mandatory)
- If a deactivated custom metric with the same key already exists, active it. The type must not change if there are custom measures on this metric
- Requires 'Administer System' permission.
- Returns the created metric with its id upon successful completion.