Brightspace Data Streams (July 2023)

DiscussionThread_View Event

«  DiscussionHome_View Event   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  DiscussionTopic_View Event  »

DiscussionThread_View EventΒΆ

DiscussionThread_View is posted when a user views a discussion thread. The actor is the user who views the thread, and the object is the discussion thread itself. 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/viewed"
        },
        "object": {
                "objectType": "Activity",
                "id": "urn:uuid:<DiscussionThreadUUID>",
                "definition": {
                        "type": "https://api.brightspace.com/xapi/activities/tools/discussion/thread"
                }
        },
        "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>",
                                "impersonatingUserId": "<BrightspaceImpersonatingUserIdNumber>",
                                "roleId": "BrightspaceRoleIdNumber>"
                        },
                        "https://api.brightspace.com/xapi/extension_keys/context/object": {
                                "id": "<BrightspaceDiscussionThreadIdNumber>"
                        },
                        "https://api.brightspace.com/xapi/extension_keys/context/context": {
                                "tenantId": "<TenantUUID>",
                                "originalEventId": "<InternalEventUUID>",
                                "orgUnitId": "<BrightspaceOrgUnitIdNumber>",
                                "orgUnitTypeId": "<BrightspaceOrgUnitTypeIdNumber",
                                "imsRoleIds": [ <IMSRoles> ]
                        }
                }
        }
}

Notes:

<DiscussionThreadUUID>

a unique identifier for the discussion thread. This UUID is created by an algorithm whose input is the TenantID, OrgUnitID, and discussion thread ID. This UUID will be used whenever this thread is referenced by any BDS event.

<OrgUnitUUID>

a unique identifier for the OrgUnit.

impersonatingUserID

only present if the user is being impersonated by a different user. If this field is present, then the Actor information refers to the person being impersonated, not the impersonator.

orgUnitTypeId

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

originalEventId

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

See Fundamental xAPI Concepts for information on other fields.

«  DiscussionHome_View Event   ·  [   home  ·   community   |   search  ·   index   ·  next   ·  previous   ]   ·  DiscussionTopic_View Event  »