Payload Example : course_updated

Document created by Oxana Jurosevic Administrator on Oct 18, 2018Last modified by Oxana Jurosevic Administrator on Oct 30, 2018
Version 2Show Document
  • View in full screen mode

Back to :  Event Type by Format

Course name was changed

 

{

 "metadata": {

   "job_id": "1020020528123208",

   "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": "course_updated",

   "event_time": "2018-10-09T20:36:35Z"

 },

 "body": {

   "course_id": "21070000000002329",

   "uuid": "OnxX9jSCr1NRTJEYqDDxCXBemoluNpGVGM2LAGEI",

   "account_id": "21070000000000083",

   "name": "Drawing and Design",

   "created_at": "2017-10-04T19:12:26Z",

   "updated_at": "2018-10-09T20:36:35Z",

   "workflow_state": "available"

 }

}

 

 

 

Course was deleted 

 

{
"metadata": {
"root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",
"root_account_id": "21070000000000001",
"root_account_lti_guid": "7db438071375c02373713c12c73869ff2f470b68.oxana.instructure.com",
"user_login": "oxana",
"user_account_id": "170000000000002",
"user_sis_id": null,
"user_id": "170000004596604",
"request_id": "0e654835-69c9-4806-9d3c-4919bada6bce",
"session_id": "30598e9100a5701e9ff4b31677e1699d",
"hostname": "oxana.instructure.com",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36",
"producer": "canvas",
"event_name": "course_updated",
"event_time": "2018-10-30T22:53:00Z"
},
"body": {
"course_id": "21070000000000281",
"uuid": "umpR5SvcxBRu8G0KI034Tag5YN0yCvlIKAiEtlCt",
"account_id": "21070000000000079",
"name": "Apple 106",
"created_at": "2017-03-04T00:13:21Z",
"updated_at": "2018-10-30T22:53:00Z",
"workflow_state": "deleted"
}
}

 

Back to : Event Type by Format

Attachments

    Outcomes