Koha/t/db_dependent/api/v1
Martin Renvoize e08639129a Bug 17428: [REST] best practice followup
This followup alters a few area's to be aligned more closely with
RESTfull best practices:

* PUT should always be full objects, and not partial updates (use PATCH
  for partials)
* Validate query parameters instead of blindly passing them to the model
  * Functional Change: Convert filter params from 'equality' to 'starts with'
    matching
* Update tests to check for swagger validation errors instead of koha exceptions
* Mark 'id' as readOnly so swagger may prevent, via validation, id
  changes.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-10-28 14:42:49 +00:00
..
swagger Bug 17032 [QA Followup] - Update path to swagger.json file 2016-09-09 13:00:09 +00:00
cities.t Bug 17428: [REST] best practice followup 2016-10-28 14:42:49 +00:00
holds.t Bug 14868: Use x-koha-authorization in current routes 2016-09-02 12:20:36 +00:00
patrons.t Bug 14868: Display required permissions in permission error response 2016-09-02 12:20:36 +00:00