Content Launch

Clear LRS implements the Rustici Launch Mechanism when passing the authenticated user to learning content for the purpose of storing data in the LRS. This is a popular mechanism supported by most authoring tools.

When content is launched from the LRS, the launch page will be loaded with the following query parameters:

Although the above examples are provided in clear text, each query parameter value will actually be URL Encoded to prevent malforming the launch URL.

For the above example, assuming the content being launched existed at the following address – https://content.example.com/index.html – then the launch URL would look like the below (new lines added for readability):

https://content.example.com/index.html
?endpoint=https%3A%2F%2Forg.clearlrs.com%2Fxapi%2F
&auth=Basic%20a2V5OnNlY3JldA%3D%3D
&actor=%7B%22mbox%22%3A%22mailto%3Alearner%40example.com%22%7D
&activity_id=http%3A%2F%2Fexample.com%2Flearning%2Factivity
&registration=231859e2-937f-4969-b069-91cf49bfea0c

Once launched, the activity provider should parse and decode these parameters and use them as appropriate when generating statements.

It is the Activity Provider's responsibility to respect every parameter passed to it, even if its internal representation differs.

Sometimes the LRS will force a new registration or override the Activity ID in response to user actions so the content is required to send statements using the received values to preserve data integrity.

Last updated