Page tree

Versions Compared

Key

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

...

Code Block
languagetext
themeEclipse
httphttps://vocabs.andsardc.orgedu.au/registry/api/services/resolve/lookupIRI

...

Here are some example lookups:

  • httphttps://vocabs.andsardc.orgedu.au/registry/api/services/resolve/lookupIRI?iri=http://vocab.frobnitz.org/def/vocab1/1
    The simplest form of resolution. Resolve an IRI, using the "current" mode. No suffix is appended.
  • httphttps://vocabs.andsardc.orgedu.au/registry/api/services/resolve/lookupIRI?iri=http://vocab.frobnitz.org/def/vocab1/1&mode=current
    The same as the previous example.
  • httphttps://vocabs.andsardc.orgedu.au/registry/api/services/resolve/lookupIRI?iri=http://vocab.frobnitz.org/def/vocab1/1&suffix=%26_format%3Djson
    The suffix &_format=json will be appended to the URL returned by the resolver.

...

Code Block
languagetext
themeEclipse
RewriteEngine On
RewriteRule "^(/def/.*)" "httphttps://vocabs.andsardc.orgedu.au/registry/api/services/resolve/lookupIRI?iri=http://vocab.frobnitz.org$1" [B,L,NE,QSA,R=307]

...