[Koha-bugs] [Bug 16497] REST API: add routes to list libraries
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 2 18:21:00 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16497
Lari Taskula <lari.taskula at jns.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #54943|0 |1
is obsolete| |
--- Comment #12 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 60801
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60801&action=edit
Bug 16497: [REST] Add /api/v1/libraries
CRUD for libraries via REST API.
GET /api/v1/libraries - List all libraries
GET /api/v1/libraries/{branchcode} - Get one Library
POST /api/v1/libraries - Add new Library
DELETE /api/v1/libraries/{branchcode} - Delete Library
Test plan:
- apply patch
- run tests: t/db_dependent/api/v1/libraries.t
- test API with some API tool or simple curl
e.g.:
curl http://host:port/api/v1/libraries
curl http://host:port/api/v1/libraries/cpl
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list