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

--- Comment #2 from Pedro Amorim <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to