What would be the best way to get the lines of code for a project via the SonarQube API?
Version
6.7.1.35068
None of these endpoints are available but this is the output from our instance.
{
“path”: “api/resources”,
“since”: “2.10”,
“description”: “Removed since 6.3, please use api/components and api/measures instead”,
“actions”: [
{
“key”: “index”,
“description”: “The web service is removed and you’re invited to use the alternatives:
- if you need one component without measures: api/components/show</li>
- if you need one component with measures: api/measures/component</li>
- if you need several components without measures: api/components/tree</li>
- if you need several components with measures: api/measures/component_tree</li></ul>”,
“since”: “2.10”,
“deprecatedSince”: “5.4”,
“internal”: false,
“post”: false,
“hasResponseExample”: true,
“changelog”: [] } ] }