title: SonarQube API - How to fetch metrics for multiple projects
body: <p>We are using SonarQube ver 5.6.6. My requirement is to fetch metrics for all the projects currently in use, through the SonarQube API. I am able to get the same, using the below API URL.</p>
  
  <p><a href="http://sqserver/api/resources?metrics=ncloc,coverage" rel="nofollow noreferrer">http://sqserver/api/resources?metrics=ncloc,coverage</a></p>
  
  <p>The list returned by the API is huge. It includes all the projects created in SonarQube, from the beginning. Many of those projects are not active any more. So, I want to exclude those projects from the API response. How can I achieve this? Is there any way to specify multiple project names in the URL in the same way as we mention multiple metrics.</p>