User Tools

Site Tools


newdevs:apis

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
newdevs:apis [2023/01/18 17:50] tmccannanewdevs:apis [2024/01/17 16:06] (current) – [Things to add to this page:] tmccanna
Line 2: Line 2:
 ====== Calling APIs ====== ====== Calling APIs ======
  
 +
 +===== Examples of Using Specific APIs =====
 +
 +==== Get an Auth Token ====
 +
 +An Auth Token is needed for many of the other API calls.
 +
 +<nowiki>https://<domain>/osrf-gateway-v1?service=open-ils.auth&method=open-ils.auth.login&param={"username":"<user name>","password":"<password>"}</nowiki>
 +
 +
 +==== Carousel API ====
 +
 +Retrieve carousel IDs by passing an org ID:
 +
 +<nowiki>https://<domain>/osrf-gateway-v1?service=open-ils.actor&method=open-ils.actor.carousel.retrieve_by_org&param=<org id></nowiki>
 +
 +Retrieve contents of a carousel by passing a carousel ID:
 +
 +<nowiki>https://<domain>/osrf-gateway-v1?service=open-ils.actor&method=open-ils.actor.carousel.get_contents&param=<carousel id></nowiki>
  
 ===== Things to add to this page: ===== ===== Things to add to this page: =====
Line 8: Line 27:
   * Link to Galen's Evergreen Conference presentation   * Link to Galen's Evergreen Conference presentation
   * Description of each of the established APIs and how to call them   * Description of each of the established APIs and how to call them
-  * How to get contents of a carousel by passing it the carousel ID: https://gapines.org/osrf-gateway-v1?service=open-ils.actor&method=open-ils.actor.carousel.get_contents&param=194+  * Specs currently under review for RESTful API work - https://yeti.equinoxoli.org/dev/public/techspecs/restful_api_spec_202312.pdf 
  
  
newdevs/apis.1674082242.txt.gz · Last modified: 2023/01/18 17:50 by tmccanna

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.