Consumers Endpoints
The Data API's consumer endpoint allows you to manage consumer configuration.
Usage
The format of requests to Data API use the following syntax:
https://data.learnosity.com/[LTS VERSION]/consumer/keys/lti
For example, to use the 2023.1.LTS version and the 'Create LTI Key' consumer endpoint, you would create a request like so:
https://data.learnosity.com/v2023.1.LTS/consumer/keys/lti
Create LTI Key
Endpoint | /consumer/keys/lti |
---|---|
HTTP Method | POST |
Action Type | set |
Parameter | Description |
label string |
A location to describe the nature or user of the LTI Key. This should be unique within the set of keys defined. Label can be up to 255 characters long. |
key string |
(Optional) A secure unique string for your LTI key.
|
secret string |
(Optional) A secure unique string for your LTI secret.
|
Example
{
"label": "Test key for use in Learnosity quality assurance environment and documentation."
}
/* Example Response:
{
"meta": {
"status": true,
"timestamp": 1515549097
},
"data": {
"key": "DsgiVBiy3OUAzI9l",
"secret": "05bCkbHi3OVXa10nuhWisIOwhs6hB9SC84Pyfghj",
"label": "Test key for use in Learnosity quality assurance environment and documentation."
}
}
*/