Simple tracking data of user's activities in content. It is generated from an xAPI statement generated inside the content type. It is sent by the client to the server.

interface IFinishedUserData {
    completionTime: number;
    contentId: string;
    finishedTimestamp: number;
    maxScore: number;
    openedTimestamp: number;
    score: number;
    userId: string;
}

Properties

completionTime: number

the time the user needed to complete the content (as integer)

contentId: string
finishedTimestamp: number
maxScore: number

the maximum score of the content

openedTimestamp: number

the time the user opened the content as UNIX time

score: number

the score the user reached as an integer

userId: string