cul-it / qa_server

A rails app with questioning authority gem installed to serve as a QA server.
Apache License 2.0
1 stars 6 forks source link

Create lookups for LOC Hubs, Works, Instances #400

Open sfolsom opened 3 months ago

sfolsom commented 3 months ago

APIs are available for each. E.g:

https://id.loc.gov/resources/works/suggest2/?q=fire

https://id.loc.gov/resources/hubs/suggest2/?q=fire

https://id.loc.gov/resources/instances/suggest2/?q=fire

(Note the base URL for these.)

Baroquem commented 3 months ago

@sfolsom Please approve the PR for this: https://github.com/LD4P/qa_server_container/pull/93

Baroquem commented 3 months ago

I didn't mean to close this issue. The changes are merged and work on my local system, but they don't seem to be registering on lookup-int. I must be missing something.

Baroquem commented 3 months ago

@sfolsom These are available now on lookup-int: https://lookup-int.ld4l.org/authorities/search/loc/instances?q=asia https://lookup-int.ld4l.org/authorities/search/loc/hubs?q=asia https://lookup-int.ld4l.org/authorities/search/loc/works?q=asia

sfolsom commented 3 months ago

Looks like these are working properly. Not a lot of context in the results for Hubs and Works, but we can't provide more information than is in LOC's API.