Re: [Koha-devel] New Rest API RFCs

2018-10-27 Thread Katrin Fischer
Hi Josef, I've added some new comments on the wiki for Checkouts and Items. Hope it's helpful! Katrin On 23.10.18 12:07, Josef Moravec wrote: Hello developers, Me and Michal Denar were thinking a bit about some REST api endpoints, write down some rfcs and would like to see any comment on th

Re: [Koha-devel] New Rest API RFCs

2018-10-23 Thread Ere Maijala
Josef, Thanks for the taking the initiative! I added some comments about the checkouts endpoint in the wiki, but perhaps it's easier to discuss here, so I'll add them here too: While fetching the information about the checkout itself is a good start, often some more information is needed, an

Re: [Koha-devel] New Rest API RFCs

2018-10-23 Thread Tomas Cohen Arazi
https://github.com/thekesolutions/koha-plugin-bibliocommons/blob/master/Koha/Plugin/Com/Theke/BiblioCommons/ItemsController.pm#L145-L179 El mar., 23 oct. 2018 a las 10:21, Barton Chittenden (< bar...@bywatersolutions.com>) escribió: > I'm not a big fan of items.onloan... If you want to check item

Re: [Koha-devel] New Rest API RFCs

2018-10-23 Thread Barton Chittenden
I'm not a big fan of items.onloan... If you want to check item availability, use the checkouts API. ...and then I realized that there's no route for items in the checkouts API. On Tue, Oct 23, 2018, 6:07 AM Josef Moravec wrote: > Hello developers, > > Me and Michal Denar were thinking a bit abo

Re: [Koha-devel] New Rest API RFCs

2018-10-23 Thread Marcel de Rooy
reservable, can_be_reserved ? Is 403 the right response for not available ? 404 or 400 ? Marcel Van: koha-devel-boun...@lists.koha-community.org namens Josef Moravec Verzonden: dinsdag 23 oktober 2018 12:07:37 Aan: koha-devel Onderwerp: [Koha-devel] New Rest API RFCs

[Koha-devel] New Rest API RFCs

2018-10-23 Thread Josef Moravec
Hello developers, Me and Michal Denar were thinking a bit about some REST api endpoints, write down some rfcs and would like to see any comment on them ;) Thanks in advance https://wiki.koha-community.org/wiki/Checkouts_endpoint_RFC https://wiki.koha-community.org/wiki/Availability_endpoints_RFC