Indexes
As you’ll see through the documentation of our HTTP interfaces, it’s important to ensure you’re hitting an index. Single Tenant Enterprise users can use the following request to find the available indexes.
GET http://www.example.org/api/indexes/MODEL_NAME
For example, to find the indexes available for the Statement model, you can use the following request.
GET https://saas.learninglocker.net/api/indexes/statement
Postman
Below are details of the Postman Collections and Environment that you can use.
Collections
Below are some of the Postman Collections we use internally to test and demonstrate Learning Locker’s APIs.
You can import a collection file. Click on the ‘Import’ button on the top bar, and paste a URL (use the links above) to the collection, or the collection JSON itself, and click ‘Import’.
Environment
We recommend that you use a Postman Environment to utilise our collections. Each of your environments need the variables below.
auth
version
baseUrl
iri
mbox
id
To get started please create a new Postman Enviroment, then modify your environment and select “Bulk edit”. Once inside the bulk edit you can copy the code below and paste it into Postman. Please change YOUR_AUTH
to your base 64 encoded basic auth details (which can be found under “Manage clients” on the left, inside an LRS on Learning Locker), and YOUR_ENDPOINT
to your LL endpoint (the origin).
auth: YOUR_AUTH version: 1.0.1 baseUrl: YOUR_ENDPOINT iri: http://www.example.com mbox: mailto:ex@mple.com id: fd590b50-cbc3-11e4-8830-0800200c9a66