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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 13 22:26:02 CEST 2015


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

Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #36705|0                           |1
        is obsolete|                            |
  Attachment #36938|0                           |1
        is obsolete|                            |
  Attachment #36941|0                           |1
        is obsolete|                            |
  Attachment #37119|0                           |1
        is obsolete|                            |
  Attachment #37132|0                           |1
        is obsolete|                            |
  Attachment #37172|0                           |1
        is obsolete|                            |
  Attachment #38246|0                           |1
        is obsolete|                            |

--- Comment #40 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
Created attachment 39158
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39158&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