- I am using SonarQube version 7.1 and trying to extract the metrics and quality gate related to individual projects
- I was using Python SonarQube API to extract these data before our company upgraded to version 7.1.
api/resources web service Deprecated since sonarqube5.4, so we cannot use it anymore.
- I have also tried using getting data using CURL command via Web API and using this URL https:/MYHOST/api/metrics/search?resource=Value&metrics=Value, but I keep getting the whole list of possible values for metrics instead of values of metrics for the particular project.
I am new to this, so maybe I am not using the URL the way it should be. I’d appreciate any help in this regard.
If you guys have a better/smarter way to extract those metrics, please share with us.