rism-digital / muscat

🗂️ A Rails application for the inventory of handwritten and printed music scores
http://muscat-project.org
34 stars 16 forks source link

Add a non-SRU MARC URL access #1467

Closed ahankinson closed 9 months ago

ahankinson commented 9 months ago

Currently the only way to get MARC from Muscat without logging in is via the SRU interface.

To support delivering consistent MARC records from Muscat and RISM Online, it would be useful to have another way of getting only the MARC (no SRU wrapper) without requiring a username/password login.

We can still keep it "private", so requests for MARC could use an Authorization token.

lpugin commented 9 months ago

I would suggest to have a /data controller taking sources/123 or people/123 as IDs.

Since this would be only accessible with a token for registered users giving access to unpublished records would not be a problem.

ahankinson commented 9 months ago

So https://muscat.rism.info/data/sources/123?

xhero commented 9 months ago

First implementation is ready