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

--- Comment #8 from Tomás Cohen Arazi <tomasco...@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.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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