Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-27045

allow filtering of repositories/list REST API by type of repo

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.30.0
    • Fix Version/s: None
    • Component/s: Repository, REST
    • Labels:
      None
    • Notability:
      4

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Michael Oliverio Michael Oliverio
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                tigCommentSecurity.panel-title