Versions Compared

Key

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

 

 

DescriptionGet a list of lines of source code

URL

/api/sources

MethodGET

Security

Requires User role on the project

 

 

Examples

  1. Get source code of org.codehaus.sonar: all the versions from project Sonar (key = org.codehaus.sonar:sonar):

    Code Block
    languagenone
    GET http://nemo.sonarsource.org/api/sources?resource=org.sonar.api.measures.Metric

...