[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
Thu Feb 23 11:56:33 CET 2023


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

Pedro Amorim <pedro.amorim at ptfs-europe.com> changed:

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

--- Comment #4 from Pedro Amorim <pedro.amorim at ptfs-europe.com> ---
Created attachment 147224
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147224&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=%7B%22me.category_name%22%3A%5B%22LOC%22%2C%22YES_NO%22%5D%7D\"
--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