pulibrary / bibdata

Local API for retrieving bibliographic and other useful data from Alma (Ruby 3.2.0, Rails 7.1.3.4)
BSD 2-Clause "Simplified" License
16 stars 7 forks source link

Allow retrieving suppressed bib records #559

Open escowles opened 5 years ago

escowles commented 5 years ago

Figgy and other apps should be able to retrieve suppressed records if they want them.

escowles commented 5 years ago

Blocked by https://github.com/pulibrary/voyager_helpers/issues/103

doncat commented 5 years ago

Including "MARC Liberation" I hope.

carolyncole commented 4 years ago

Here is an example of a suppressed record: https://bibdata.princeton.edu/bibliographic/10926564/items

kevinreiss commented 2 years ago

@mzelesky, @christinach I'm remembering this was in the context of SCSB and that we solved this? Is that correct?

mzelesky commented 2 years ago

I think we only allow retrieval of suppressed bibs through the barcode endpoint.

kevinreiss commented 2 years ago

That is all we need, correct? I can't think of another use case where this would helpful.

christinach commented 2 years ago

@kevinreiss this is a very old issue when we were still using voyager_helpers with voyager. As @mzelesky posted we allow retrieval of suppressed bibs through the barcode endpoint only. I think we can close this issue there has been some discussion in the past see https://github.com/pulibrary/bibdata/issues/710#issuecomment-670607954 and https://pulibrary.slack.com/archives/CA891BNR0/p1600875040001900.

escowles commented 2 years ago

The main use case that motivated this ticket is Figgy's remote metadata feature. We have had cases where content was digitized but could not be linked to the Bib records because they were suppressed, which made the workflow very convoluted and involved having to put the Bib ID into the title field and then move it to the source metadata identifier field later once the records were unsuppressed.

I think we plan to make Figgy use Orangelight instead of Bibdata to retrieve metadata at some point (@tpendragon is this right?). But I'd like to keep this ticket until we've done that or found another solution.

tpendragon commented 2 years ago

That's right and it's mostly there. Presumably getting suppressed records from the orangelight endpoint would be much harder.

kevinreiss commented 2 years ago

Yes, suppressed records would not be present in Orangelight at all. You'd need to go directly bibdata to get the metadata. We'd need to make an endpoint that would respond with suppressed records by MMS ID lookup. How critical is this feature? Could figgy default to trying OL and if the MMS ID lookup failed go to another endpoint that is able to provide suppressed record data?

escowles commented 2 years ago

The functionality to retrieve MARC directly from Alma may be removed, and replaced with retrieving the indexed version from Orangelight. However, it may still be possible to retrieve metadata for suppressed records from Orangelight. Pulfalight has a similiar use case, and some options are being considered: falling back on retrieving from ASpace, or indexing a minimal version of the record (e.g., just the title). We might consider similar approaches in Orangelight.

maxkadel commented 2 years ago

@escowles - what I was talking about at the meeting was specifically jsonld, not MARC records - so https://bibdata.princeton.edu/bibliographic/99108564513506421/jsonld would forward to https://catalog.princeton.edu/catalog/99108564513506421.jsonld, which uses the Solr record, rather than pulling directly from Alma.

christinach commented 1 year ago

In the Orangelight meeting on 9/22/2022 we discussed this issue and decided to talk to DLS on what would help them and be consistent with suppressed item workflows in Pulfalight. https://docs.google.com/document/d/1GxpYrcRc6w3kMFU1XU6CEpnumFzvxFrj2GkCq_XvoWw/edit#heading=h.2n9tc3jqfuku

kevinreiss commented 1 year ago

Reached out to DLS today.

kevinreiss commented 1 year ago

Discussed at 1/19/2023 BL-OL Checkin https://docs.google.com/document/d/1GxpYrcRc6w3kMFU1XU6CEpnumFzvxFrj2GkCq_XvoWw/edit#heading=h.swvat4umzzm9.