[Koha-bugs] [Bug 13799] Add base for building RESTful API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 11 10:47:49 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13799

Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:

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

--- Comment #53 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 40088
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40088&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