[Koha-bugs] [Bug 34008] REST API: Add a list (GET) endpoint for itemtypes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Sep 17 10:36:32 CEST 2023


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

Andreas Jonsson <andreas.jonsson at kreablo.se> changed:

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

--- Comment #5 from Andreas Jonsson <andreas.jonsson at kreablo.se> ---
Created attachment 155738
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=155738&action=edit
Bug 34008: Add REST endpoint for list of itemtypes

Test plan:
* Enable the system preference RESTBasicAuth
* curl -s --request GET
http://kohadev-intra.mydnsname.org:8081/api/v1/itemtypes
  should give 401 Unauthorized
* curl -s -u koha:koha --request GET
http://kohadev-intra.mydnsname.org:8081/api/v1/itemtypes
  should produce JSON-list of itemtypes
* curl -s -u koha:koha --header "x-koha-embed: translated_descriptions"
--request GET http://kohadev-intra.mydnsname.org:8081/api/v1/itemtypes
  should include the field translated_descriptions containing the translated
descriptions, if any

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


More information about the Koha-bugs mailing list