[Koha-bugs] [Bug 31795] REST API: POST endpoint for Authorities
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 20 22:06:41 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31795
Agustín Moyano <agustinmoyano at theke.io> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #144555|0 |1
is obsolete| |
--- Comment #4 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 144746
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=144746&action=edit
Bug 31795: Add REST endpoint to add an authority
To test:
1. Apply patch
2. Set RESTBasicAuth preference to true
3. Make a POST request to /api/v1/authorities with one of the following content
type header
- application/json
- application/marcxml+xml
- application/marc-in-json
- application/marc
4. If content type is other than application/json, then add the following
header to the request: "x-authority-type: <auth type code>"
5. Check that the authority is created
6. Sign off
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list