Where is the latest Sonatype Nexus OSS REST API located?

I always use this page: http://nexus.xwiki.org/nexus/nexus-core-documentation-plugin/core/docs/index.html , but her subpage could not open now (404 - not found). Who knows where the last page of the API is?

+6
source share
2 answers

The REST API is still part of Nexus. Since the API changes sometimes, you should look for it in your own instance and version of Nexus! You can find it in the plugin console using the Restlet 1x plugin.

More details here: http://books.sonatype.com/nexus-book/reference/confignx-sect-plugins.html

If you want to have a local copy and, for example, your administrator does not give you access, you can simply start a new installation of Nexus on your computer locally. You will be the administrator of this new installation and will be able to see the documents. Also keep in mind that you really need a REST API only if you are developing some kind of integration. If you do this, you should test the local Nexus instance anyway ... so you will have the documents right there.

Also, if you know the entry point to the documents, you can access it directly. For instance. https://oss.sonatype.org/nexus-restlet1x-plugin/default/docs/index.html

+6
source

seems to have disappeared ...

Newer versions of Nexus include this documentation (at least 2.0.4-1). Replace nexus.xwiki.org with a different host name, for example. hostname of your nexus company server (you may have to abandon the / nexus part):

Http: // [of your own nexus] /nexus/nexus-core-documentation-plugin/core/docs/index.html

[ EDIT ]

found an API document in a public instance of Nexus 2.1 here

+2
source

Source: https://habr.com/ru/post/949974/


All Articles