sonar runner - SonarQube Web Api Changes from 6.0 to 6.4 -


i using "http://sonarserver:9000/api/resources?metrics=ncloc,bugs,vulnerabilities" details of projects sonar 6.0.

after upgrading 6.4 url not work , not able find alternative under web_api changes page.

please let me know if knows alternative this.

error: {"errors":[{"msg":"unknown url : /api/resources"}]}

per webapi documentation (embedded in own sonarqube server, linked @ footer): api/resources/index deprecated since 5.4 (i.e. super long time ago).

the documentation provides guidance:

if need 1 component measures: api/measures/component

that measures need given project. can use other apis list of projects (e.g. api/components/search). see web api docs full listing of possibilities.


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -