Koha Test Wiki MediaWiki Postgres
One of a series of test instances for migrating the Koha Wiki MediaWiki database.
For the current Koha Wiki, visit https://wiki.koha-community.org .Import biblios oaipmh endpoint RFC
From Koha Test Wiki MediaWiki Postgres
Contents |
Bugs
Actions and routes
General proposed routes.
Description | Action | Proposed path |
Import an OAI-PMH XML record as a biblio record | POST | /import/oaipmh/biblios |
Importing an OAI-PMH XML record as a biblio record
OAI-PMH is a protocol which only uses XML, so we have to submit OAI-PMH XML records to the API.
The API endpoint will do add/update/delete as required based on the information in the OAI-PMH XML record and how it corresponds to data saved in the Koha database.
Comments
tcohen
- I'd prefer /import/biblios/oai_pmh, because we could want another import methods, and I'd prefer to group them by type (i.e. biblios in this case).
- OAI-PMH might support different data formats, do you have plans for that? The /biblios endpoint uses the Accept header to specify that, maybe Content-type is to play a role here. Even if we don't still support other format than MARCXML at this point.