Payload Example : discussion_topic_created

Document created by Oxana Jurosevic Administrator on Oct 18, 2018
Version 1Show Document
  • View in full screen mode

Back to :  Event Type by Format

 

At the moment we do not provide any assignment data on the discussion topic when it is created, we also don’t send any events when user updates discussion topic from Canvas Course-> Discussions page,  however we do send assignment_updated event to the queue when end user updates discussion topic from Canvas Course-> Assignments page.  We have two bugs open to make sure we provide adequate amount of data in discussion_topic_created payload as well as fix the lack of update event when user updates discussion topic from Discussions page. 

 

{

 "metadata": {

   "job_id": "1020020281288893",

   "job_tag": "Canvas::Migration::Worker::CourseCopyWorker#perform",

   "producer": "canvas",

   "root_account_id": "21070000000000001",

   "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

   "root_account_lti_guid": "7db438071375c02373713c12c73869ff2f470b68.oxana.instructure.com",

   "event_name": "discussion_topic_created",

   "event_time": "2018-10-03T15:45:42Z"

 },

 "body": {

   "discussion_topic_id": "21070000000000070",

   "is_announcement": false,

   "title": "New_Discussion_Topic",

   "body": "<p>This is a new discussion topic</p>"

 }

}

 

 

Back to : Event Type by Format

Attachments

    Outcomes