I have created some automation to loop thru a list of repositories and pull component info as well as counts. I had initially incorporated the API call to list repositories but there is no way to specify repository details in the call so I am stuck making my own list. I could probably just pull the list of repos and then parse the json for a specific repo type ( yet to test this out) but it would be helpful to be able to parameterize my call and include the filter there.
Specifically the ask is to filter the results returned by repository type ( hosted, proxy, group).
Another reason parameters would be good for the repository call is that eventually I'll be adding another loop in front of everything that will do all of this for each of our Nexus instances with different URLs. So rather than having list of repositories for each of our 10+ instances, I can just run thru the one list of URLs, run the parameterized call for hosted repos, and then get components for each.