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

Martin Renvoize <[email protected]> changed:

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

--- Comment #47 from Martin Renvoize <[email protected]> ---
Created attachment 84588
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84588&action=edit
Bug 16497: 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

Signed-off-by: Josef Moravec <[email protected]>
Signed-off-by: Benjamin Rokseth <[email protected]>
Signed-off-by: Tomas Cohen Arazi <[email protected]>

Signed-off-by: Kyle M Hall <[email protected]>
Signed-off-by: Tomas Cohen Arazi <[email protected]>

Signed-off-by: Josef Moravec <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to