| Table of Contents |
This page lists all the available Web Services to be used by any HTTP clients.
Available Web Services
Web Service | Description |
|---|---|
| Authentication | |
This Web Service deals with Events. It offers to: | |
| Favourites | This Web Service deals with Favourites. It offers to:
|
| Installed Plugins | This Web Service offers to list all the plugins installed on the Sonar instance. |
| Manual Measures | This Web Service deals with Manual Measures. It offers to:
|
| Metrics | This Web Service deals with Metrics. It offers to:
|
Project | This Web Service offers to delete a project. |
| Profiles | This Web Service deals with Quality Profiles. It offers to:
|
| Properties | This Web Service deals with Properties. It offers to:
|
| Resources | This Web Service deals with Resources (projects, files, views, etc.). It mainly offers to get measures from resources. |
| Reviews | This Web Service deals with Reviews. It offers to:
|
| Rules | This Web Service offers to get data from Rules. |
| Server Status | This Web Service returns the status of the Sonar server. |
| Sources | This Web Service offers to get data from Sources. |
| System Info | This Web Service returns system properties, server info (Java, OS), database configuration, JVM statistics and installed plugins. |
| Time Machine | This Web Services offers to get data from Time Machine. |
| User Properties | This Web Service deals with User Properties. It offers to:
|
| Upgrade Server | This Web Service returns the status of the upgrade of the server. |
| Violations | This Web Service offers to get data from Violations. |
Response Formats
The API provides several response formats: XML, JSON (ie. JavaScript Object Notation) and sometimes plain text or CSV.
The request can specify the desired response format using one of the following two ways:
- Accept HTTP header: application/json, text/xml
Query argument 'format' with one of these values: xml, json, txt or csv
HTTP Status Codes
HTTP Code | Description |
|---|---|
200 | OK |
400 | Bad request. |
401 | Unauthorized |
403 | Forbidden. |
404 | The requested resource could not be found. |
500 | Internal server error. |

