Persistent URI's in API

I’d like my linked open data (in Omeka S: the API output) to have URI’s in the form https://n2t.net/{ark identifier}

I am using the ARK module for persistent identifiers. I can already handle content negotiation (so besides JSON-LD also Turtle, N-triples, etc as API output).

But the base URI for resources used in the API output doesn’t use the ARK and uses my domain, eg. https://{domain}/api/item/{item id} (example)

How can I change this behaviour, so that the API output uses a custom URI like https://n2t.net/{ark identifier} ?

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.