[Koha-bugs] [Bug 32981] Add REST API endpoint to list authorised values for a given category

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 16 14:43:16 CET 2023


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

--- Comment #1 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 146730
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146730&action=edit
Bug 32981: Add endpoint to get AV for given category

For, at least, the ERM module we would like to retrieve the authorised
values for a given category to build a dropdown list with the different
options.

It has been decided on bug 17390 to use
GET /authorised_value_categories/:authorised_value_category_id/values

Test plan:
curl -v -s -u koha:koha --request GET 
http://kohadev-intra.mydnsname.org:8081/api/v1/authorised_value_categories/LOC/values
Should display the list of LOC

curl -v -s -u koha:koha --request GET 
http://kohadev-intra.mydnsname.org:8081/api/v1/authorised_value_categories/xLOCx/values
Should return a 404

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


More information about the Koha-bugs mailing list