0

I am using SonarQube 6.4 (build 25310, self-hosted). I'm able to search using id as demonstrated by this URL:

https://sonarqube.localhost.com/component_measures/metric/coverage/history?id=%AWESOME_API%

What other parameters can I use? I would want to search for a specific version that has been scanned.

slartidan
  • 20,403
  • 15
  • 83
  • 131
dmcgill50
  • 528
  • 6
  • 26

1 Answers1

2

Take a look at the measures/search_history service. It doesn't give you a version parameter, but you can search by date. So pinpoint your date using the project_analyses/search service, and then search for measures by date.

Note that file level measures are only retained for the most recent analysis.

G. Ann - SonarSource Team
  • 22,346
  • 4
  • 40
  • 76
  • Is there a way to add another parameter besides id - what about version? :) https://sonarqube.cool.com/component_measures/metric/coverage/history?id=AWSESOME-API – dmcgill50 Oct 05 '17 at 21:07