Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Web Service

Examples of use cases that can be fulfilled

issues

Get a list of issues
Assign/Unassign as issue
Create a manual issue

rules

Get a list of rules

profiles

Get a list of profiles
Get the list of coding rules activated in a quality profile
Backup a quality profile
Restore a quality profile
Delete a profile
Set a profile as default

action_plans

Get a list of action plans
Create / Update / Delete an action plan
Close / Open an action plan

violations

Deprecated since Sonar version 3.6. Replaced by the 'issues' web service.

reviews

Deprecated since Sonar version 3.6. Replaced by the 'issues' web service.

Project Measures

...

Web Service

Examples of use cases that can be fulfilled

projects

Delete a project

properties

Get a list of properties
Create a property
Update a property
Delete a property

server

Get the status of the Sonar SonarQubeTM server
Upgrade the Sonar SonarQubeTM database
Get the system properties

updatecenter/installed_plugins

Get the list of all the plugins installed on the Sonar SonarQubeTM instance

Response Formats

The API provides several response formats such as XML, JSON (ie. JavaScript Object Notation) plain text or CSV.

...