Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Web Service API
Creado por David Racodon, modificado por última vez por Ann Campbell el dic 16, 2014
Table of Contents
Documentation in SonarQube 4.4+
Calling a secured web service
Note on information returned by web services
Documentation for older versions
Documentation in SonarQube 4.4+
Starting with SonarQube 4.4, the web application offers a builtin and alwaysuptodate documentation of the Web Service API. The link to access it is located in the
footer of the page:
You can see it live on Nemo at http://nemo.sonarqube.org/api_documentation.
Calling a secured web service
Some web services (like administration ones) are secured and require credentials that can be passed using basic HTTP authentication.
Example with curl to get the server system properties with the user admin/admin on your freshly installed SonarQube instance:
curl u admin:admin http://localhost:9000/api/server/system
Note on information returned by web services
Some information documented in web services response examples depends on some plugins to be installed.
For instance :
the /api/issues/search web service returns the "author" information only when the Dev Cockpit plugin is installed
Documentation for older versions
For SonarQube < 4.4, see the archived documentation.