[Koha-bugs] [Bug 13799] Add base for building RESTful API
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Mar 6 13:10:36 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13799
--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 36700
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36700&action=edit
Bug 13799: REST API proof of concept with Mojolicious/Swagger2
1/ Install Mojolicious Perl module
2/ Launch server with:
$ morbo ./rest
Actual routes are:
/borrowers
Return a list of all borrowers in Koha
/borrowers/{borrowernumber}
Return the borrower identified by {borrowernumber}
(eg. /borrowers/1)
There is a test file you can run with:
$ prove t/db_dependent/rest/borrowers.t
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list