Querying code coverage for a file using web api

We’d like to generate custom code coverage reports based on code owners. How can I retrieve this information via the web API?

I have looked in to:

Neither of these seems to give code coverage at the file level.


Any time you’re trying to find the right API to pull data from SonarQube the easiest thing to do is access the data via the UI and use your browser’s developer tools to “spy” on which web services are called to retrieve that data.


1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.