[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
Fri Feb 24 16:41:13 CET 2023


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #147224|0                           |1
        is obsolete|                            |
 Attachment #147296|0                           |1
        is obsolete|                            |

--- Comment #8 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 147340
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=147340&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\"

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

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


More information about the Koha-bugs mailing list