[Koha-bugs] [Bug 13607] Patron management API
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 27 23:38:25 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13607
--- Comment #8 from Robin Sheat <robin at catalyst.net.nz> ---
(In reply to Martin Renvoize from comment #7)
> I wasn't disputing upsert as a word.. more that in my experience it's the
> PUT method that used for it:
Yeah, I'd misread what you said there.
> 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.
Hmm, these probably aren't suitable for form submission anyway. It's not like
they're providing HTML back.
> 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).
Yes, this would be good. I just had to conform to what was already in koha. Or
really, pick one of the methods in koha and conform to that (which was an
obvious choice: pick the one that gives me consistency with the authentication
endpoint.)
Some rationalisation of what's available would be good. Note that with my
changes to C4::Service, it'd be quite easy to allow a 'format=json' type
argument to change what you're getting. We could even add support for
'format=usmarc' if you want to use that as your formatting method. I'm sure
someone somewhere likes that idea. They would be a crazy person.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list