Tomas Cohen Arazi
6e38b8b60f
This patch enables access to the REST API endpoint on packages setup. It does so, by patching the shared apache-shared-intranet.conf and apache-shared-opac.conf. You can build your own master packages with this patch applied, or just: - Grab debian/templates/apache-shared-intranet.conf debian/templates/apache-shared-opac.conf and overwrite their counterparts in /etc/koha on a packages setup. For example in kohadevbox. - Have Koha loaded with all default data - Create a superlibrarian user for you - Login to the intranet and the OPAC - Point your browser to: http://localhost:8080/api/v1/patrons/51 => SUCCESS: You get JSON data, for the patron you requested http://localhost:8081/api/v1/patrons/51 => SUCCESS: You get JSON data, for the patron you requested - Sign off :-D Note: I use the HTTPRequester addon for Firefox, re-using the CGISESSID value from the browser session cookie, in the headers. Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> |
||
---|---|---|
.. | ||
apache-shared-disable.conf | ||
apache-shared-intranet-plack.conf | ||
apache-shared-intranet.conf | ||
apache-shared-opac-plack.conf | ||
apache-shared-opac.conf | ||
apache-shared.conf | ||
apache-site-https.conf.in | ||
apache-site.conf.in | ||
koha-common.conf | ||
koha-conf-site.xml.in | ||
koha-sites.conf | ||
log4perl-site.conf.in | ||
marc21-retrieval-info-auth-dom.xml | ||
marc21-retrieval-info-auth-grs1.xml | ||
marc21-retrieval-info-bib-dom.xml | ||
marc21-retrieval-info-bib-grs1.xml | ||
normarc-retrieval-info-auth-dom.xml | ||
normarc-retrieval-info-auth-grs1.xml | ||
normarc-retrieval-info-bib-dom.xml | ||
normarc-retrieval-info-bib-grs1.xml | ||
plack.psgi | ||
SIPconfig.xml | ||
unimarc-retrieval-info-auth-dom.xml | ||
unimarc-retrieval-info-auth-grs1.xml | ||
unimarc-retrieval-info-bib-dom.xml | ||
unimarc-retrieval-info-bib-grs1.xml | ||
zebra-authorities-dom-site.cfg.in | ||
zebra-authorities-site.cfg.in | ||
zebra-biblios-dom-site.cfg.in | ||
zebra-biblios-site.cfg.in | ||
zebra.passwd.in |