Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RVA hosts an instance of Swagger UI that is already configured to connect to the Registry. You can access it here: httphttps://vocabs.ardc.edu.au/registry/swagger-ui/

(There is also an instance on the demo server: http https://demo.vocabs.ardc.edu.au/registry/swagger-ui/)

Direct access to API URLs

...

The following is a summary of what you need to know to get started.

ANDS ARDC uses the stable release 2.2.3 to generate the PHP and JavaScript libraries used by the Portal. Later versions in the 2.x branch may also work, but we have not tested them. The releases in the 3.x branch are still of "pre-release" quality and are not recommended for now.

To download release 2.2.3 of the swagger-codegen JAR, you can use the following direct link:

httphttps://centralrepo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar

If you are using Linux or Unix, you can download the JAR from the command line using wget:

Code Block
languagebash
themeEclipse
wget httphttps://centralrepo1.maven.org/maven2/io/swagger/swagger-codegen-cli/2.2.3/swagger-codegen-cli-2.2.3.jar \
  -O swagger-codegen-cli.jar

...

Code Block
languagebash
themeEclipse
java -jar swagger-codegen-cli.jar langlangs

(Please note that some of the supported languages do not in fact generate client libraries, but generate code stubs for servers instead. For example, the "language" jaxrs generates server stubs that could be used as a framework for re-implementing the Registry API. You probably don't want to do that!)

...