Use Case 10 : A student submits a response message to a graded discussion topic

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

Back to:  Table of Contents 

A student submits a response message to a graded discussion topic

 

Use Case: A student replies to the graded discussion topic.

 

Outcome: Two messages are issued—submission_created and submisison_updated.

 

Event 1: submission_created

 

{

 "sensor": "http://www.canvaslms.com/",

 "sendTime": "2018-10-01T12:31:37.271Z",

 "dataVersion": "http://purl.imsglobal.org/ctx/caliper/v1p1",

 "data": [

   {

     "@context": "http://purl.imsglobal.org/ctx/caliper/v1p1",

     "id": "urn:uuid:3070ca67-ab22-4b63-a35d-94ad24cfc7db",

     "type": "AssignableEvent",

     "actor": {

       "id": "urn:instructure:canvas:user:21070000000000047",

       "type": "Person",

       "extensions": {

         "com.instructure.canvas": {

           "root_account_id": "21070000000000001",

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

           "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

           "entity_id": "21070000000000047"

         }

       }

     },

     "action": "Submitted",

     "object": {

       "id": "urn:instructure:canvas:submission:21070000000011164",

       "type": "Attempt",

       "dateCreated": "2018-10-01T18:53:46.000Z",

       "extensions": {

         "com.instructure.canvas": {

           "submission_type": "discussion_topic",

           "entity_id": "21070000000011164"

         }

       },

       "assignee": {

         "id": "urn:instructure:canvas:user:21070000000000047",

         "type": "Person"

       },

       "assignable": {

         "id": "urn:instructure:canvas:assignment:21070000000000373",

         "type": "AssignableDigitalResource"

       },

       "count": 1

     },

     "eventTime": "2018-10-01T18:53:46.000Z",

     "edApp": {

       "id": "http://www.canvaslms.com/",

       "type": "SoftwareApplication"

     },

     "extensions": {

       "com.instructure.canvas": {

         "job_id": "1020020200123296",

         "job_tag": "DiscussionEntry#context_module_action",

         "version": "1.0.0"

       }

     }

   }

 ]

}

Event 2: submission_updated

 

{

 "sensor": "http://www.canvaslms.com/",

 "sendTime": "2018-10-01T17:42:36.124Z",

 "dataVersion": "http://purl.imsglobal.org/ctx/caliper/v1p1",

 "data": [

   {

     "@context": "http://purl.imsglobal.org/ctx/caliper/v1p1",

     "id": "urn:uuid:27a6debd-6f54-4a7a-aa4a-4a6fb15a1795",

     "type": "Event",

     "actor": {

       "id": "urn:instructure:canvas:user:21070000000000047",

       "type": "Person",

       "extensions": {

         "com.instructure.canvas": {

           "root_account_id": "21070000000000001",

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

           "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

           "entity_id": "21070000000000047"

         }

       }

     },

     "action": "Modified",

     "object": {

       "id": "urn:instructure:canvas:submission:21070000000011164",

       "type": "Attempt",

       "dateModified": "2018-10-01T18:53:47.000Z",

       "extensions": {

         "com.instructure.canvas": {

           "submission_type": "discussion_topic",

           "entity_id": "21070000000011164"

         }

       },

       "assignee": {

         "id": "urn:instructure:canvas:user:21070000000000047",

         "type": "Person"

       },

       "assignable": {

         "id": "urn:instructure:canvas:assignment:21070000000000373",

         "type": "AssignableDigitalResource"

       },

       "count": 1

     },

     "eventTime": "2018-10-01T18:53:47.000Z",

     "edApp": {

       "id": "http://www.canvaslms.com/",

       "type": "SoftwareApplication"

     },

     "extensions": {

       "com.instructure.canvas": {

         "job_id": "1020020200123296",

         "job_tag": "DiscussionEntry#context_module_action",

         "version": "1.0.0"

       }

     }

   }

 ]

}

Back to:  Table of Contents 

Attachments

    Outcomes