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/19 09:12] – [Things to add to this page:] tmccannanewdevs:apis [2024/01/17 16:06] (current) – [Things to add to this page:] tmccanna
Line 4: Line 4:
  
 ===== Examples of Using Specific 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 ==== ==== Carousel API ====
Line 9: Line 16:
 Retrieve carousel IDs by passing an org ID: Retrieve carousel IDs by passing an org ID:
  
-https://gapines.org/osrf-gateway-v1?service=open-ils.actor&method=open-ils.actor.carousel.retrieve_by_org&param=9+<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: Retrieve contents of a carousel by passing a carousel ID:
  
-https://gapines.org/osrf-gateway-v1?service=open-ils.actor&method=open-ils.actor.carousel.get_contents&param=194+<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 20: 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
 +  * Specs currently under review for RESTful API work - https://yeti.equinoxoli.org/dev/public/techspecs/restful_api_spec_202312.pdf
  
  
  
newdevs/apis.1674137561.txt.gz · Last modified: 2023/01/19 09:12 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.