Details
-
Story
-
Status: Open (View Workflow)
-
P3
-
Resolution: Unresolved
-
None
-
-
2
-
Spitfire
-
Quesnelia (R1 2024)
Description
Purpose
This story involves the implementation of a new endpoint within the Authority-Source-Files API to provide the next available HRID (Human-Readable Identifier) for the authority file. This endpoint will facilitate retrieving the next available HRID in the sequence for authority file creation. HRID should have format:
POST /authority-source-files/{id}/hrid Request body: {} Response body: { "id": "cb58492d-018e-442d-9ce3-35aabfc524aa", "hrid": "loc1" }
Approach
- Design and implement a new endpoint dedicated to retrieving the next available HRID.
- Develop the underlying logic to generate and return the next HRID based on the sequence.
- Only available for files with source: local
Acceptance criteria
- Covered by unit tests
- Module documentation updated
- Logging is well-defined
Additional info:
https://www.postgresql.org/docs/current/sql-createsequence.html
https://wiki.folio.org/display/FOLIJET/Create+a+MARC+authority+record+via+quickMARC+UI
TestRail: Results
Attachments
Issue Links
- defines
-
MODQM-311 SPIKE: Investigate feasibility of local authority source support
-
- Closed
-
-
UXPROD-3910 Create a MARC authority record via quickMARC UI
-
- In progress
-
- has to be done after
-
MODELINKS-123 Authority-source-files API: update POST endpoint
-
- In progress
-
- has to be done before
-
UIQM-576 Generate 001 per selected authority file configuration
-
- Open
-
- mentioned in
-
Page Loading...