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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 3 17:13:16 CEST 2015


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

--- Comment #112 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 41320
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41320&action=edit
Bug 13799 - 1.1 RESTful API with reverse proxy configuration without
api.host.domain

OPTIONAL replacement to the
    Buugg 13799: 1. RESTful API with Mojolicious and Swagger2
httpd-configuration.

Instead of having to go to your dns-provider, you can run the api from your
current virtualhost.

Use these configurations to reverse proxy www.host.domain/v1/ to the REST API.

---------------------------
:INSTALLATION INSTRUCTIONS:
---------------------------

You need
    Buugg 14448 - Adding the REST API as a Hypnotoad service, koha-api-daemon.
to deploy the backend Mojolicous application as a FastCGI-daemon.

Then add the modifications from etc/koha-httpd.conf
to your /etc/apache2/sites-enabled/koha.conf
and adjust paths to fit.

..$ a2enmod proxy
..$ a2enmod proxy_http
..$ service apache2 restart

Much recommended is
    Buugg 14458: 5. Add SwaggerUI documentation for RESTful API
to browse your API capabilities.

Then just go to
    /v1/doc
to see the API autodocumentation.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list