[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
Fri Oct 27 06:46:54 CEST 2023


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

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rel_23_11_candidate

--- Comment #11 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I see a few problems with this implementation. I'm marking this one
rel_23_11_candidate because they are easily solvable and I can help.

* What I will need input on is on the attributes names. This needs work. To
start with, we call them item_type across the other endpoints. So the endpoint
name and the id need a change. The rest of the attribute names need some love
(i.e. we hide our weird internal names and put something better, along with a
mapping).

* The controller shouldn't deal explicitly with embeds. Pick the /cities
endpoint controller as an example and you'll be fine.

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


More information about the Koha-bugs mailing list