[Koha-bugs] [Bug 31794] REST API: GET endpoint for Authorities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 7 17:02:24 CET 2023


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

Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:

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

--- Comment #8 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 146338
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146338&action=edit
Bug 31794: Add REST endpoint to get an authority

To test:
1. Apply patch
2. Set RESTBasicAuth preference to true
3. Get the id of an authority
4. Make a GET 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
  - text/plain
5. Check that you get the authority in the corresponding format
6. Sign off

Signed-off-by: David Nind <david at davidnind.com>
Signed-off-by: Pedro Amorim <pedro.amorim at ptfs-europe.com>

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


More information about the Koha-bugs mailing list