Payload Example : assignment_updated

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

Back to :  Event Type by Format

The following changes to assignment will issue assignment_updated event :

 

  • Name change
  • Description change
  • Points possible
  • Assignment group 
  • Display Grade As
  • Do not count this assignment towards the final grade
  • Submission type
  • Group Assignment
  • Peer Reviews
  • Anonymous Instructor Annotations
  • Assign to
  • Due at
  • Available from
  • Available Until

 

 

 

Event 1: Assignment_ updated where points possible were changed

 

{

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

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

 },

 "body": {

   "assignment_id": "21070000000000374",

   "context_id": "21070000000000598",

   "context_type": "Course",

   "workflow_state": "unpublished",

   "title": "Old Quiz 1",

   "description": "",

   "due_at": "2018-10-11T05:59:59Z",

   "unlock_at": "2018-10-03T06:00:00Z",

   "lock_at": "2018-10-17T05:59:59Z",

   "updated_at": "2018-10-03T15:45:38Z",

   "points_possible": 0.0,

   "lti_assignment_id": "48408076-0b3a-4b08-87a9-989fc8528e4a",

   "lti_resource_link_id": null,

   "lti_resource_link_id_duplicated_from": null

 }

}

 

Event 2: Assignment_ updated where assignment was deleted

 

{

 "metadata": {

   "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

   "root_account_id": "21070000000000001",

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

   "user_login": "test",

   "user_account_id": "170000000000002",

   "user_sis_id": null,

   "user_id": "111111111111111",

   "context_type": "Course",

   "context_id": "21070000000000565",

   "request_id": "95f10aa9-d961-42f8-8f2f-a60ac454e5b2",

   "session_id": "0e96b1bfbab1183760b3665b53d960c7",

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

   "event_time": "2018-10-03T14:50:31Z"

 },

 "body": {

   "assignment_id": "21070000000000371",

   "context_id": "21070000000000565",

   "context_type": "Course",

   "workflow_state": "deleted",

   "title": "add_new_assignment_3",

   "description": "<p>test assignment</p>",

   "due_at": "2018-10-01T05:59:59Z",

   "unlock_at": "2018-09-24T06:00:00Z",

   "lock_at": "2018-10-01T05:59:59Z",

   "updated_at": "2018-10-03T14:50:31Z",

   "points_possible": 100.0,

   "lti_assignment_id": "8b81d12c-fda4-4317-8d83-e987a6d2014a",

   "lti_resource_link_id": null,

   "lti_resource_link_id_duplicated_from": null

 }

}

 

 

Back to : Event Type by Format

Attachments

    Outcomes