<div dir="ltr">We should do as we usually do: set a new context for URIs (/rest/ ?) and implement a RESTfull API there, following all the standards, and versioned from the beggining.<div><br></div><div>We could use CGI::Application::Dispatch, merge koha-restfull and work on top of that (it should be discussed whether we agree on the current API or not), or even do it with a framework, like Dancer [1].</div>

<div><br></div><div>And then have a clear deprecation path for the old API.</div><div><br></div><div>Would be happy to work on that if more people were interested.</div><div><br></div><div>[1] <a href="http://irc.koha-community.org/koha/2014-07-18#i_1538096">http://irc.koha-community.org/koha/2014-07-18#i_1538096</a></div>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 23, 2014 at 9:21 PM, David Cook <span dir="ltr"><<a href="mailto:dcook@prosentient.com.au" target="_blank">dcook@prosentient.com.au</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah, right you are, Galen. It does use a socket. Yeah, that should be trivial to update <a href="http://connexion_import_daemon.pl" target="_blank">connexion_import_daemon.pl</a>.<br>


<br>
None of our folks use OCLC, but that's good to know.<br>
<br>
Going back to my earlier email, MarcEdit would probably benefit from a richer Koha API as well.<br>
<div class="im HOEnZb"><br>
David Cook<br>
Systems Librarian<br>
Prosentient Systems<br>
72/330 Wattle St, Ultimo, NSW 2007<br>
<br>
-----Original Message-----<br>
</div><div class="im HOEnZb">From: Galen Charlton [mailto:<a href="mailto:gmc@esilibrary.com">gmc@esilibrary.com</a>]<br>
Sent: Thursday, 24 July 2014 1:22 AM<br>
To: David Cook<br>
Cc: <a href="mailto:koha-devel@lists.koha-community.org">koha-devel@lists.koha-community.org</a><br>
Subject: Re: [Koha-devel] RFC: /svc/ API<br>
<br>
</div><div class="HOEnZb"><div class="h5">Hi,<br>
<br>
On Tue, Jul 22, 2014 at 5:11 PM, David Cook <<a href="mailto:dcook@prosentient.com.au">dcook@prosentient.com.au</a>> wrote:<br>
> +1 to a versioned API. I don't think that I use it for anything at the<br>
> moment, but I'm not 100% sure about all our apps. I think we might<br>
> have a third-party one that uses it.<br>
<br>
Also +1 to a versioned API.<br>
<br>
> This script should probably also use PUT, but I have no idea if OCLC<br>
> Connexion supports that.<br>
<br>
I don't believe it matters as far as Connexion is concerned, as it only talks to <a href="http://connexion_import_daemon.pl" target="_blank">connexion_import_daemon.pl</a> via a raw socket.<br>
<br>
> Since there are an indeterminate number of third-party software<br>
> systems using the existing API, I'd recommend versioning and using v2<br>
> to handle things more RESTfully.<br>
<br>
MarcEdit is one program I know that uses the current API to inject records into a Koha database.<br>
<br>
Regards,<br>
<br>
Galen<br>
--<br>
Galen Charlton<br>
Manager of Implementation<br>
Equinox Software, Inc. / The Open Source Experts<br>
email:  <a href="mailto:gmc@esilibrary.com">gmc@esilibrary.com</a><br>
direct: +1 770-709-5581<br>
cell:   +1 404-984-4366<br>
skype:  gmcharlt<br>
web:    <a href="http://www.esilibrary.com/" target="_blank">http://www.esilibrary.com/</a><br>
Supporting Koha and Evergreen: <a href="http://koha-community.org" target="_blank">http://koha-community.org</a> & <a href="http://evergreen-ils.org" target="_blank">http://evergreen-ils.org</a><br>
<br>
<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" target="_blank">http://bugs.koha-community.org/</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Tomás Cohen Arazi</div><div>Prosecretaría de Informática</div><div>Universidad Nacional de Córdoba</div><div>✆ +54 351 5353750 ext 13168</div>

<div>GPG: B76C 6E7C 2D80 551A C765  E225 0A27 2EA1 B2F3 C15F</div></div>
</div>