[Koha-bugs] [Bug 31796] REST API: PUT endpoint for Authorities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 14 20:28:42 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31796

Agustín Moyano <agustinmoyano at theke.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #144752|0                           |1
        is obsolete|                            |

--- Comment #5 from Agustín Moyano <agustinmoyano at theke.io> ---
Created attachment 149702
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=149702&action=edit
Bug 31796: Add REST endpoint to modify an authority

To test:
1. Apply patch
2. Set RESTBasicAuth preference to true
3. Pick an authority to modify, and modify it's marc record
4. Make a PUT request to /api/v1/authorities/:authid with one of the following
content type header
  - application/json
  - application/marcxml+xml
  - application/marc-in-json
  - application/marc
5. If content type is other than 'application/json' place the following header
in the request 'x-authority-type: <auth type>'
5. Check that the authority was modified
6. Sign off

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list