[Koha-bugs] [Bug 17428] REST api: CRUD endpoint for cities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 13 11:24:50 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17428

--- Comment #11 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I have added a followup with some minor alterations to encourage Restful best
practice a little more.  The biggest change is to always expect full object for
PUT requests.

We have some options to discus should we wish to implement partial updates, but
I believe that should be left for it's own bug.

Just as a quick overview, we have two options for partial updates:

1) Individual endpoints (hopefully an automated process to create them could be
developed) for each field in the object.
2) Defining a HTTP PATCH method for each overall object endpoint using somthing
along the lines of JSON-Patch (http://jsonpatch.com/) or JSONT (JSON
Transforms) for delivering patch instructions

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


More information about the Koha-bugs mailing list