Brightspace Data Streams (July 2023)

Site_Login Event

«  LTI Launch Events   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  Site_Logout Event  »

Site_Login EventΒΆ

The Site_Login event is posted when a user logs into a session. The actor is the user who is logging in, and the object is the OrgUnit to which the person logs in. The event object has the following form:

{
        "id": "<EventUUID>",
        "timestamp": "<UTCDateTimeString>",
        "actor": {
                "account": {
                        "homePage": "https://<TenantUUID>.lms.d2l.com/",
                        "name": "urn:uuid:<UserUUID>"
                }
        },
        "verb": {
                "id": "https://api.brightspace.com/xapi/verbs/logged_in"
        },
        "object": {
                "objectType": "Activity",
                "id": "urn:uuid:<OrgUnitUUID>",
                "definition": {
                        "type": "https://api.brightspace.com/xapi/activities/organization"
                }
        },
        "context": {
                "contextActivities": {
                        "category": [
                                {
                                        "id": "https://api.brightspace.com/xapi/profiles/brightspace-activity-v1p0.jsonld"
                                }
                        ]
                },
                "registration": "<OrgUnitUUID>",
                "extensions": {
                        "https://api.brightspace.com/xapi/extension_keys/context/actor": {
                                "userId": "<BrightspaceUserIdNumber",
                                "roleId": "<BrightspaceRoleIdNumber"
                        },
                        "https://api.brightspace.com/xapi/extension_keys/context/object": {
                                "id": "<BrightspaceOrgUnitIdNumber>"
                        },
                        "https://api.brightspace.com/xapi/extension_keys/context/context": {
                                "tenantId": "<TenantUUID>",
                                "originalEventId": "<InternalEventUUID>",
                                "orgUnitType": "Organization",
                                "orgUnitId": "<BrightspaceOrgUnitIdNumber>",
                                "sessionId": "urn:uuid:<SessionIdUUID>",
                                "originalSessionId": "<BrightspaceSessionIdNumber>",
                                "orgUnitTypeId": "<BrightspaceOrgUnitTypeIdNumber>",
                                "imsRoleIds": [ <IMSRoles> ]
                        }
                }
        }
}

Notes:

orgUnitTypeId

only present if the OrgUnit has been assigned a type ID number.

originalEventId and originalSessionId

only provided for use by D2L personnel if needed for troubleshooting.

See Fundamental xAPI Concepts for information on other fields.

«  LTI Launch Events   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  Site_Logout Event  »