Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
DescriptionGet a list of events from a project

URL

/api/events

HTTP MethodGET
Response Formatsjson | xml

Security

Requires User role to get the list of events for a specific Browse permission on project

 

Examples

Use CaseExample Request
Get all the versions from project org.codehaus.sonar:sonar

GET http://nemo.sonarsource.org/api/events?resource=org.codehaus.sonar:sonar&categories=Version

Get all the versions and alerts from project org.codehaus.sonar:sonar between January 1st, 2012 and August 31st, 2012

GET http://nemo.sonarsource.org/api/events?resource=org.codehaus.sonar:sonar&categories=Alert,Version&fromDate=2012-01-01&toDate=2012-08-31

...