Potential Bug in Canvas Live Events

JonathanCrandal
Community Member

I'm working with Live Events in Canvas, and I've noticed that the attachment_deleted event is missing some information, specifically the hostname. While with most events the hostname appears in the metadata, this particular event does not seem to contain this info.

The documentation for the attachment_deleted event has an example payload, and the example contains the hostname. When the event is actually triggered though, it seems to not be there.

If anyone has any insights as to why this may be, it would be greatly appreciated.

 

Below I've pasted the actual event that I'm receiving (with all of the keys but without actual values).

{ "metadata: {

       "job_id":"xxxxxxxxx",

       "job_tag":"xxxxxxxxx",

       "producer":"xxxxxxxxx",

       "root_account_uuid":"xxxxxxxxx",

       "root_account_lti_guid":"xxxxxxxxx",

       "event_name":"attachment_deleted",

        event_time":"xxxxxxxxx"

},

"body": {

        "attachment_id":"xxxxxxxxx",

        "user_id":"xxxxxxxxx",

        "display_name":"xxxxxxxxx",

        "filename":"xxxxxxxxx",

        "context_type":"xxxxxxxxx",

        "context_id":"xxxxxxxxx",

        "content_type":"xxxxxxxxx",

        "folder_id":"xxxxxxxxx",

        "unlock_at":xxxxxxxxx,

        "lock_at":xxxxxxxxx,

        "updated_at":"xxxxxxxxx"

}}

 

Labels (2)
0 Likes