Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-6571

New WS api/metrics/create

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Measures, Web API
    • Labels:
      None

      Description

      The goal is to create a new custom metric and replace the old RoR POST api/metrics

      • POST api/metrics/create
      • Parameters
        • name (mandatory): name of the custom metric
        • key (mandatory)
        • type (mandatory)
        • description
        • domain
      • 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.

        Attachments

          Activity

            People

            Assignee:
            teryk.bellahsene Teryk Bellahsene
            Reporter:
            teryk.bellahsene Teryk Bellahsene
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: