Nexus IQ

Hello

I’ve been working with the Nexus IQ Lifecycle Release 124 API and have run into a question that I hope you can help with.
I would like to know if there is an API available to retrieve all the reports under the Organization?

Thanks for your help

I don’t think there is a single API that can do this, but you could use the “Get All Applications” (GET /api/v2/applications) to get the Application IDs for the Organization that you are looking for, and then Pull the reports for each application (GET /api/v2/reports/applications/{applicationInternalid). You may have to convert the External Application ID to the Internal (GET /api/v2/applications?publicId={YourPublicId}), as I am not sure if the first API returns the public or internal. I hope this helps.

Brian

2 Likes

You may have more success asking the question in https://community.sonatype.com/c/sonatype-lifecycle-firewall/7 rather than Repository Manager.