[Koha-bugs] [Bug 13607] Patron management API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 27 12:00:13 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13607

--- Comment #7 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I wasn't disputing upsert as a word.. more that in my experience it's the PUT
method that used for it:
http://stackoverflow.com/questions/7297578/correct-http-method-for-restful-create-or-update
gives a farily concise reasoning.

As for the lack of browser support.. I can now having googled it see where your
coming from on this.. It's not the browsers so much as the html versions. 
Pretty much all browser will support the requests via javascript, but it would
seem the HTML 4.01 and XHTML 1.0 both only support GET and POST as Form
submission methods.  Hmm, this one does then need some thought applying.

Your other points are all valid..

What I'm thinking here, as you've already put the work in, is to sign off on
this as it stands and let it progress into koha.  However, I hope to deprecate
the /svc namespace at some point and push for a nice concise set of restful
routes (including a patrons route).

Some thoughts regarding this discussion can be found on the recently created
wiki page: http://wiki.koha-community.org/wiki/New_REST_API_RFC and we hope to
get a bit of a group together at the next hackfest.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list