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

Replace Ruby WS api/timemachine/index by Java WS api/measures/search_history

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3
    • Component/s: Web API
    • Labels:
      None

      Description

      • best values must be returned
      • for 'new_*' metrics the value in the response if the value of period 1
      • periods are not returned at all in the response. For example, metric 'ncloc' returns only the absolute value
      • order chronologically
      • Parameters
        • component: component key, can be any project/view/module/directory/file but NOT a developer
        • metrics: metric keys
        • from: return analyses after (inclusive) the provided date
        • to: return analyses before (inclusive) the provided date
        • p & ps: usual pagination parameters, applied to analyses
      • Response format:
      {
        "measures": [
          {
            "metric": "ncloc",
            "history": [
              {
                "date": "2017-01-06…",
                "value": "50"
              },
              {
                "date": "2017-01-06…",
                "value": "55"
              },
              {
                "date": "2017-01-06…",
                "value": "200"
              }
            ]
          }
        ]
      }
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: