Use Case 3 : An assignment was created - basic course assignment

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 

Use Case: A user creates an assignment in Canvas course by:

  1. Click on the +Assignment button
  2. Assignment form opens
  3. Fill out the assignment settings
  4. Click Save & Publish
  5. Assignment is saved and published → user lands on the published assignment page

 

Outcome: Two messages are issued: assignment_created and asset_accessed as a result of the use case.

 

Event 1: asset_ accessed

 

{

 "sensor": "http://oxana.instructure.com/",

 "sendTime": "2018-09-28T17:20:33.419Z",

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

 "data": [

   {

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

     "id": "urn:uuid:0493fc14-3b72-4dcb-9507-ef57d157da28",

     "type": "NavigationEvent",

     "actor": {

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

       "type": "Person",

       "extensions": {

         "com.instructure.canvas": {

           "user_login": "oxana",

           "root_account_id": "21070000000000001",

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

           "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

           "entity_id": "111111111111111"

         }

       }

     },

     "action": "NavigatedTo",

     "object": {

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

       "type": "AssignableDigitalResource",

       "extensions": {

         "com.instructure.canvas": {

           "asset_type": "assignment",

           "entity_id": "21070000000000371"

         }

       }

     },

     "eventTime": "2018-09-28T22:58:51.000Z",

     "edApp": {

       "id": "http://oxana.instructure.com/",

       "type": "SoftwareApplication"

     },

     "group": {

       "id": "urn:instructure:canvas:course:21070000000000565",

       "type": "CourseOffering",

       "extensions": {

         "com.instructure.canvas": {

           "context_type": "Course",

           "entity_id": "21070000000000565"

         }

       }

     },

     "membership": {

       "id": "urn:instructure:canvas:course:21070000000000565:user:111111111111111",

       "type": "Membership",

       "member": {

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

         "type": "Person"

       },

       "organization": {

         "id": "urn:instructure:canvas:course:21070000000000565",

         "type": "CourseOffering"

       }

     },

     "session": {

       "id": "urn:instructure:canvas:session:5ea97d244bac31033cc1cbec76feeda5",

       "type": "Session"

     },

     "extensions": {

       "com.instructure.canvas": {

         "hostname": "oxana.instructure.com",

         "request_id": "c5ae5b7d-b348-455f-bbd4-6de7b54d2518",

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

         "version": "1.0.0"

       }

     }

   }

 ]

}

 

Event 2: assignment_created

 

{

 "sensor": "http://oxana.instructure.com/",

 "sendTime": "2018-09-28T19:24:32.812Z",

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

 "data": [

   {

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

     "id": "urn:uuid:cf79f6d6-ac42-4474-948d-676662f30d6e",

     "type": "Event",

     "actor": {

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

       "type": "Person",

       "extensions": {

         "com.instructure.canvas": {

           "user_login": "oxana",

           "root_account_id": "21070000000000001",

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

           "root_account_uuid": "VicYj3cu5BIFpoZhDVU4DZumnlBrWi1grgJEzADs",

           "entity_id": "111111111111111"

         }

       }

     },

     "action": "Created",

     "object": {

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

       "type": "AssignableDigitalResource",

       "name": "add_new_assignment_3",

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

       "dateCreated": "2018-09-28T22:58:50.000Z",

       "extensions": {

         "com.instructure.canvas": {

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

           "entity_id": "21070000000000371"

         }

       },

       "dateToShow": "2018-09-24T06:00:00.000Z",

       "dateToSubmit": "2018-10-01T05:59:59.000Z",

       "maxScore": {

         "numberStr": "100.0"

       }

     },

     "eventTime": "2018-09-28T22:58:50.000Z",

     "edApp": {

       "id": "http://oxana.instructure.com/",

       "type": "SoftwareApplication"

     },

     "group": {

       "id": "urn:instructure:canvas:course:21070000000000565",

       "type": "CourseOffering",

       "extensions": {

         "com.instructure.canvas": {

           "context_type": "Course",

           "entity_id": "21070000000000565"

         }

       }

     },

     "membership": {

       "id": "urn:instructure:canvas:course:21070000000000565:user:111111111111111",

       "type": "Membership",

       "member": {

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

         "type": "Person"

       },

       "organization": {

         "id": "urn:instructure:canvas:course:21070000000000565",

         "type": "CourseOffering"

       }

     },

     "session": {

       "id": "urn:instructure:canvas:session:5ea97d244bac31033cc1cbec76feeda5",

       "type": "Session"

     },

     "extensions": {

       "com.instructure.canvas": {

         "hostname": "oxana.instructure.com",

         "request_id": "9136335b-e7cb-4a49-a1fb-9f4915fffbdf",

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

         "version": "1.0.0"

       }

     }

   }

 ]

}

Back to:  Table of Contents 

Attachments

    Outcomes