| Table of Contents |
This page lists all the available Web Services to be used by any HTTP clients.
Available Web Services
Web Service | Description | Related Pages |
|---|---|---|
| authentication | ||
| Events | |
| favourites |
| Favourites, Filters |
| Installed Plugins |
| Update Center |
| Manual Measures |
| Manual Measures |
| metrics |
| Metrics |
Project |
| |
| profiles |
| Quality Profiles |
| properties |
| |
| 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. |

