[Koha-bugs] [Bug 32981] Add REST API endpoint to list authorised values for a given category
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 24 21:52:02 CET 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32981
--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Question: are we sure about the names for things?
I would've expected to see something like:
my $avs_rs = $category->avs;
for querying the avs. Let's suppose we leave that for later, for when we really
embed the avs in the /authorised_value_categories endpoint...
Are you sure we will call the accessor $category->values instead? And so the
x-koha-embed attribute. I'm not saying it is wrong, just thinking it might get
confusing.
I'd go for 'av', like in
/av_categories
/av_categories/:code/avs
I'm not even sure we need this endpoint or just the other one, with an embed
:-D
GET /av_categories/:code
x-koha-embed: avs
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list