Ability to change discovery import profile
It would be useful to make change to discovery import profile via API. For example, to make change Harvest start date and End date and run the job in all supported way (e.g. reload and delete). Currently there are some OAI resources that do not support harvesting deleted records and we had to do "reload and delete" manually and regularly.
-
Kristen Fredericksen
commented
The CUNY consortium runs discovery import profiles for Springshare products, ArchivesSpace, JSTOR Digital Stewardship Services, and our institutional repository (Academic Works) across multiple IZs plus the NZ. Because OAI sources don't propagate deletions through incremental harvests, we have to manually open each profile, edit the Harvest Start Date, and trigger "Reload and Delete" on a recurring basis — that's dozens of profiles touched by hand every cycle.
Exposing two things on /almaws/v1/conf/md-import-profiles/{id} would close this entirely:
1. Read/write access to the OAI Harvest Start Date.
2. A ?op=run&mode=reload_and_delete (or equivalent) on the profile or its linked job.Today the API returns only profile metadata (name, type, active) — none of the harvest controls — so there's no programmatic path at all.