[Koha-bugs] [Bug 16826] REST API: Add API routes for getting item availability and holdability
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 21 14:23:54 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16826
--- Comment #51 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Julian Maurice from comment #50)
> (In reply to Tomás Cohen Arazi from comment #49)
> > I don't agree with the proposed endpoints layout. I belive we should have
> > /items/{item_id}/availability instead.
> >
> > The ->swaggerize methods aren't needed anymore as Koha::Object(s) implement
> > the TO_JSON method with similar behaviour. This was obviously written before
> > the TO_JSON addition.
>
> Looks like it's Failed QA then ?
Yes.
> Also, it would be nice to have more opinions on what the endpoints should be
> (/availability/object vs /object/availability)
I agree! It really depends on how it is going to be used.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list