initialization - Grading API

Grading API Initialization

This article details the properties that are passed as parameters to the window.LearnosityGrading.init() method to initialize Grading API.

This method is the starting point to initializing and rendering Grading API.

Example

var initializationOptions = {
    // example parameters
};

let gradingApp = window.LearnosityGrading.init(initializationOptions);
    

Initialization Object

The Initialization object is a JSON object which is passed as the first parameter into the window.LearnosityGrading.init() method. It includes all the information needed to initialize the API.

It contains the following top-level property:

Security Object

The Security object is a property generated by the Learnosity serverside SDKs to ensure that any of the APIs are only initialized from a secured, allowed source, using your consumer key and secret.

This is handled by our SDKs in:

For other languages, please see our Security & Authentication page on how to sign your requests.

Request Object

The Request object contains all of the configuration properties for user & session identification and user interface look and feel.

See the Request Object article for more information.

Was this article helpful?

Did you arrive here by accident? If so, learn more about Learnosity.