[Koha-bugs] [Bug 25905] REST API: create endpoint for importing OAI-PMH records from external OAI-PMH clients
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Aug 6 14:34:28 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25905
--- Comment #13 from David Cook <dcook at prosentient.com.au> ---
These patches should work, but I've run out of time/energy tonight to write the
unit tests.
Test plan:
1. Turn on RESTBasicAuth
2. curl -XPOST -u username:password -H "x-koha-oaipmh-repository:
http://koha-community.org/oai.pl"
http://localhost:8081/api/v1/import/oaipmh/biblios -d @oaipmh.xml
That oaipmh.xml file can be a ListRecords or GetRecord document. The API will
handle add/update/delete. I'll look at providing some test files later too.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list