CDLUC3 / ezid

CDLUC3 ezid
MIT License
11 stars 4 forks source link

Create EZID API to list NAAN and shoulders #549

Open jsjiang opened 8 months ago

jsjiang commented 8 months ago

All that is needed is a list of NAANs managed by EZID. A natural pattern to follow is to provide the list of prefixes (NAANs) given a scheme (ark:). If a client wanted more details on a particular NAAN then they could use an inflection request on the NAAN.

So basically:

https://ezid.cdlib.org/ark:?info -> list of NAAN https://ezid.cdlib.org/ark:/NAAN?info -> list of shoulders for NAAN

For the list of NAANs, it can be:

{ "prefixes": [ "86073", "10945", ... ] }