Brightspace Data Streams (July 2023)

Site_Logout Event

«  Site_Login Event   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  Site_Timeout Event  »

Site_Logout EventΒΆ

The Site_Logout event is posted when a user logs out from a session. The actor is the user who is logging out, and the object is the OrgUnit from which the user has logged out. The event object has the following form:

{
        "id": "<EventUUID>",
        "timestamp": "<UTCDateTimeString>",
        "actor": {
                "account": {
                        "homePage": "https://<TenantID>.lms.d2l.com/",
                        "name": "urn:uuid:<UserUUID>"
                }
        },
        "verb": {
                "id": "https://api.brightspace.com/xapi/verbs/logged_out"
        },
        "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": "<BrightspaceOrgUnitNumber>"
                        },
                        "https://api.brightspace.com/xapi/extension_keys/context/context": {
                                "tenantId": "<TenantUUID>",
                                "originalEventId": "<InternalEventUUID>",
                                "orgUnitType": "Organization",
                                "orgUnitId": "<BrightspaceOrgUnitIdNumber>",
                                "orgUnitTypeId": "<BrightspaceOrgUnitTypeIdNumber>",
                                "sessionId": "urn:uuid:<SessionIdUUID>",
                                "originalSessionId": "<BrightspaceSessionIdNumber>",
                                "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.

«  Site_Login Event   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  Site_Timeout Event  »