[Koha-bugs] [Bug 32997] Add REST API endpoint to list authorised values for multiple given categories

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 20 17:27:20 CET 2023


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

--- Comment #2 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 146970
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=146970&action=edit
Bug 32997: Add REST API endpoint to list authorised values for multiple given
categories

This patch adds /api/v1/authorised_value_categories endpoint that
retrieves authorised value categories for the given names and their
authorised values if x-koha-embed: authorised_values is also given.

To test:
Apply patch
curl -u koha:koha --request GET
\"http://localhost:8081/api/v1/authorised_value_categories?q=%5B%5B%7B%22me.category_name%22%3A%5B%22LOC%22%2C%22YES_NO%22%5D%7D%5D%5D\"
--header \"x-koha-embed:authorised_values\"

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


More information about the Koha-bugs mailing list