[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 17 16:41:22 CET 2023


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Hi, what we need is:

GET /av_categories?q={"av_category_id":["av_1",...,"av_n"]}
x-koha-embed: authorised_values:string

The caveat about :string is that Jonathan is proposing on bug 32981 to return
the full AV objects on the avs endpoint. But if the embed didn't include
:string and only did the usual thing for embedding related objects, it would be
good enough.


Note: the idea behind :string is that it would 'calculate the right strings
according to the context' (e.g. public? just the description for a dropdown?)
but I don't have a clear idea for this particular use case so I'd move forward
with what I proposed, without :string.

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


More information about the Koha-bugs mailing list