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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 12 14:25:36 CEST 2016


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

Claire Gravely <claire_gravely at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #56228|0                           |1
        is obsolete|                            |

--- Comment #9 from Claire Gravely <claire_gravely at hotmail.com> ---
Created attachment 56261
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=56261&action=edit
Bug 17428: [REST] Koha::REST::V1::Cities introduced

This patch introduces full CRUD for Koha::Cit(ies|y) classes through
the REST api. To test, point your browser to /api/v1/cities to use
HTTPRequester/Postman (or the like).

And of course, run the unit tests:
- Apply the patches
- Update your minified swagger file:
  $ cd kohaclone/
  $ misc/devel/minifySwagger.pl -s api/v1/swagger/swagger.json \
                                -d api/v1/swagger/swagger.min.json
- Run:
  $ prove t/db_dependent/api/v1/cities.t
=> SUCCESS: Tests should return green, and no warnings.
- Sign off :-D

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
Signed-off-by: Claire Gravely <claire_gravely at hotmail.com>

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


More information about the Koha-bugs mailing list