Add an API endpoint to rebuild an existing OAI set from scratch
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
This would be an equivalent of the reExport metadata api - it would delete the existing OAI records, before re-creating them; this would be one way to drop any existing "deleted" OAI records, if an admin desires to do so. At the moment this can be done for a created, "named" set - by deleting the set, then re-creating it with the same parameters. But not for the default, "all published and exported datasets" set.
This came up in response to #10040 (which I'm going to close now).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing reExport metadata API and the code that builds the default “all published and exported datasets” OAI set. Trace how named sets are deleted and recreated, then determine the endpoint behavior needed for the default set. Done means an API can remove existing OAI records and recreate the set, including previously deleted records.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100