| Table of Contents |
This page lists all the available Web Services to be used by any HTTP clients.
Available Web Services
Web Service | Possible Actions | Related Pages |
|---|---|---|
| /sessions/login |
| Security |
| Events | |
| /api/favourites |
| Favourites, Filters |
| /api/updatecenter/installed_plugins |
| Update Center |
| /api/manual_measures |
| Manual Measures |
| /api/metrics |
| Metrics |
| Project Settings | |
| /api/profiles |
| Quality Profiles |
| /api/properties |
| |
| /api/resources |
| Metrics |
| /api/reviews |
| Reviews |
| /api/rules |
| Quality Profiles |
| /api/server |
| |
| /api/sources |
| |
| /api/server/system |
| |
| /api/timemachine |
| Time Machine |
| /api/user_properties |
| |
| /api/server/setup |
| |
| /api/violations |
| Violations |
Simple MS Excel Samples
Extracting a list of Measures of a Project: download the MS Excel sample
Extracting all the Violations of a Project: download the MS Excel sample
| Authentication In case your Sonar server is secured, you will also have to manage authentication. Here's an MS Excel sample to deal with it. |
Response Formats
The API provides several response formats such as XML, JSON (ie. JavaScript Object Notation) plain text or CSV.
Check the proper web service documentation to get the list of available format responses.
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. |

