sfomuseum / accession-numbers

Machine-readable regular expressions for identifying accession numbers for cultural heritage organizations in text.
Other
6 stars 3 forks source link

Placeholder: Fake accession number APIs #41

Open thisisaaronland opened 2 years ago

thisisaaronland commented 2 years ago

This is a placeholder issue for definitions and tools to create "fake accession number" API endpoints for cultural heritage organizations that do not allow individual object pages to be accessed (directly) using an accession number. It's not clear whether that work should be part of this repo.

For example:

And the data/objects.csv file in the NGA opendata release has the following header:

objectid,accessioned,accessionnum...

Which means a "fake accession number" API could map the accession number to the object ID and then either issue a redirect ot be used to explicitly assign a value to a object_uri URI template. For example:

straup commented 2 years ago

Update, this exists now: https://github.com/aaronland/fake-accession-number-apis