[OPEN-ILS-DEV] Which OpenSRF gateway should I use?
Jane Sandberg
sandbej at linnbenton.edu
Wed Sep 21 01:33:35 EDT 2016
Hi all,
I am trying to make some HTTP calls to opensrf to get some info about
copy status, and had my eyes on the OpenSRF gateway. However, I found
two different gateways that seem to behave differently, one at
http://my-domain.org/gateway and another at
http://my-domain.org/osrf-gateway-v1.
For a simple call, they seem to work the same:
https://libcat.linnbenton.edu/gateway?service=opensrf.math&method=add¶m=2¶m=2
https://libcat.linnbenton.edu/osrf-gateway-v1?service=opensrf.math&method=add¶m=2¶m=2
For something a little more complex, the /gateway? calls return some
JSON with weird /*--*/ doodads that I don't really understand:
https://libcat.linnbenton.edu/gateway?service=open-ils.cat&method=open-ils.cat.asset.copy_tree.retrieve¶m=[FAKE_SESSION_KEY]¶m=294385¶m=7
https://libcat.linnbenton.edu/osrf-gateway-v1?service=open-ils.cat&method=open-ils.cat.asset.copy_tree.retrieve¶m=[FAKE_SESSION_KEY]¶m=294385¶m=7
My main question: are either of these gateways going away in the
foreseeable future?
Another question: are there other "gateways" I should be looking at?
I'm hoping to make actual OpenSRF calls, rather than an abstraction
like SuperCat or UnAPI, and would greatly prefer using HTTP calls.
Thanks in advance for your help and expertise!
-Jane
--
Jane Sandberg
Electronic Resources Librarian
Linn-Benton Community College
sandbej at linnbenton.edu / 541-917-4655
More information about the Open-ils-dev
mailing list