This section details common things that any integrator will do when interacting with the TLA.
# Moodle Logstore Update: TLA MOM updates to the default xAPI Statements
“https://brindlewaye.com/xAPITerms/verbs/loggedin/” is now “http://adlnet.gov/expapi/verbs/launched” when you login to moodle
Verb changed from “http://activitystrea.ms/schema/1.0/start” to “http://adlnet.gov/expapi/verbs/initialized” for quizzes
Verb changed from “http://adlnet.gov/expapi/verbs/completed” to “http://adlnet.gov/expapi/verbs/terminated” for quizzes
Filters out statements that are based on the event “\core\event\course_module_completion_updated”, but the completionstate is 0 (meaning incomplete). Result is no statement is sent when incomplete
For course module completions, changed module type from “http://id.tincanapi.com/activitytype/lms/module” to “https://w3id.org/xapi/tla/activity-types/activity”
Changed course module viewed verb from “http://id.tincanapi.com/verb/viewed” to “http://adlnet.gov/expapi/verbs/initialized'”
When a course module viewed event is triggered, sends the initialized from above and follow that with a “http://adlnet.gov/expapi/verbs/terminated” so there is a complete attempt
Changed the “http://adlnet.gov/expapi/verbs/registered” en language map to “registered”. It was “enrolled” which is not the standard value
Added passed and failed for a quiz attempt including the result.score.scaled. Also fixed the result.score.scaled bug that caused it to not be calculated correctly and added result for completion, duration and success
Changed course definition and type. Type from “http://id.tincanapi.com/activitytype/lms/course” to “http://adlnet.gov/expapi/activities/course”. Also added the object.definition.description en language map value.
11 Added TLA context to statements as appropriate - including contextActivities.category to “https://w3id.org/xapi/tla/v0.5” and extensions for source_version, plugin_version, event_name and event_function
For a SCO, changed the verb “http://adlnet.gov/expapi/verbs/launched” to “http://adlnet.gov/expapi/verbs/initialized”
For a SCO launched, added a contextActivity.grouping for the attempt
Added “http://adlnet.gov/expapi/verbs/terminated” statement SCO status submitted
For SCOs, created and managed an attempt IRI to tie statements together into an attempt by the user. e.g. - Initialized and Terminated both can have the same context attempt IRI so you know what initialize pairs with what terminated.
For SCOs, changed them to use the “https://w3id.org/xapi/tla/activity-types/activity” activity type and created the appropriate IRI and title
Fixed bug on result.response on questions -- sometimes it came in as null
Do not track users that are not logged in (e.g. Do not send statements for unknown people, like hitting the home page before logged in)