CMI5 / XAPI (2016)


note over LMS: learner authenticates as actor A
loop Blocks
    loop AUs
        LMS -> LRS: State API (AU_id, session_id, agent=A, registration=A_enrollment, masteryScore=10, moveOn=Passed)
        LMS -> LRS: Launched (AU_id, session_id, launchURL, launch_mode=Normal, moveOn=Passed)
        alt learner Waived from the AU
            LMS -> LRS: Waived (AU_id, session_id, reason=Tested Out | Equivalent | Administrative)
        else learner needs to Complete the AU
            LMS -> AU: launch?endpoint=LRS &fetch=fetch_url &actor=A & registration=A_enrollment & activityId=AU_id
            AU -> LMS: POST fetch_url
            LMS -> AU: auth_token
            AU -> LRS: Initialized, auth_token
            AU -> LRS: Completed, auth_token
            AU -> LRS: Passed OR Failed, score, masteryScore, auth_token
            alt learner's session closes
                AU -> LRS: Terminated, auth_token
            else learner's session times out
                LMS -> LRS: Abandoned
            end
        end
end
    LMS -> LRS: Satisfied(Block_id)
end
LMS -> LRS: Satisfied(Course_id)


LTI v1.1.1 (2012)


LTI v2 (2014)