I can get metrics for single component tree using web api “api/measures/component_tree?component=x&qualifiers=DIR&metricKeys=ncloc&strategy=all”.
How can I do the same for multiple components in one shot.
For example I want to get NCLOC metrics for all the folders under project component X and Y.
Can this be done by adding project X and Y in a portfolio and putting portfolio key as component here?