0

I need to use Ansible to create an npm repo in our Nexus server. I've been looking through the Nexus REST API documentation and figured that I would use the uri module to issue the relevant command(s) but there doesn't seem to be a create endpoint defined.

Am I missing something here?

2
  • 3
    Is this what you're after?
    – larsks
    Jul 2, 2022 at 13:05
  • 1
    If you have access to the nexus admin, you can go to "server administration and configuration" (gear icon) > System > API where you will be able to browse all endpoints. If you don't have access to the admin, you can still download the OpenAPI spec from http(s)://<your-nexus-url>/service/rest/swagger.json and load it in your favourite API tool. Jul 10, 2022 at 8:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.