Assignment
assignment_created
Definition: The event is emitted anytime a new assignment is created by an end user or API request.
Trigger: Triggered when a new assignment is created in a course.
Payload Example:
Event Body Schema
assignment_group_id
The Canvas id of the assignment group.
assignment_id
The Canvas id of the new assignment.
context_id
The type of context the assignment is used in.
context_type
The type of context the assignment is used in.
context_uuid
The uuid of the context associated with the assignment.
created_on_blueprint_sync
Whether or not the assignment was created in the context of a blueprint sync.
description
The description of the assignment. NOTE: This field will be truncated to only include the first 8192 characters.
due_at
The due date for the assignment.
lock_at
The lock date (assignment is locked after this date).
lti_assignment_id
The LTI assignment guid for the assignment.
lti_resource_link_id
The unique identifier of the assignment resource in the LTI specification. Unique per Canvas shard.
lti_resource_link_id_duplicated_from
The LTI resource link ID of the original assignment. Present if new assigment is a copy.
assignment_id_duplicated__from
The Canvas id of the original assignment. Present if new assigment is a copy.
domain_duplicated_from
The Canvas domain of the root account of the original assignment. Present if new assigment is a copy.
domain
The Canvas domain of the root account of the assignment.
points_possible
The maximum points possible for the assignment.
submission_types
Valid methods for submitting the assignment, may include multiple comma separated options of: discussion_topic, external_tool, media_recording, none, not_graded, online_quiz, online_text_entry, online_upload, online_url, on_paper.
title
The title of the assignment. NOTE: This field will be truncated to only include the first 8192 characters.
unlock_at
The unlock date (assignment is unlocked after this date).
updated_at
The time at which this assignment was last modified in any way.
workflow_state
Workflow state of the assignment. E.g duplicating, fail_to_import, failed_to_duplicate, published, unpublished. See API documentation for more details.
assignment_group_created
Definition: The event is emitted anytime a new assignment group is created by an end user or API request.
Trigger: Triggered when a new assignment group is created in a course.
Payload Example:
Event Body Schema
assignment_group_id
The Canvas id of the new assignment group.
context_id
The Canvas context id of the new assignment group.
context_type
The context type of the new assignment group.
group_weight
The group weight of the new assignment group.
integration_data
Integration data for the new assignment group.
name
The name of the new assignment group.
position
The position of the new assignment group on the assignments page.
rules
Rules for the new assignment group.
sis_source_id
The SIS source id of the new assignment group.
workflow_state
Workflow state of the assignment group.
assignment_group_updated
Definition: The event is emitted anytime an assignment group is updated by an end user or API request. Only changes to the fields included in the body of the event payload will emit the updated
event.
Trigger: Triggered when a user or asynchronous job updates a new assignment group in a course context.
Payload Example:
Event Body Schema
assignment_group_id
The Canvas id of the updated assignment group.
context_id
The Canvas context id of the updated assignment group.
context_type
The context type of the updated assignment group.
group_weight
The group weight of the updated assignment group.
integration_data
Integration data for the updated assignment group.
name
The name of the updated assignment group.
position
The position of the updated assignment group.
rules
Rules for the updated assignment group.
sis_source_id
The SIS source id of the updated assignment group.
workflow_state
Workflow state of the assignment group.
assignment_override_created
Definition: The event is emitted anytime an assignment override is created by an end user or API request.
Trigger: Triggered when an assignment override is created.
Payload Example:
Event Body Schema
assignment_override_id
The Canvas id of the assignment override.
assignment_id
The Canvas id of the assignment linked to the override.
due_at
The override due_at timestamp, or nil if not overridden.
all_day
The overridden all_day flag, or nil if not overridden.
all_day_date
The overridden all_day_date, or nil if not overridden.
unlock_at
The overridden unlock_at timestamp, or nil if not overridden.
lock_at
The overridden lock_at timestamp, or nil if not overridden.
type
Override type - ADHOC
(list of Students), CourseSection
, or Group
.
course_section_id
(if type='CourseSection'
) Canvas section id that this override applies to.
group_id
(if type='Group'
) Canvas group id that this override applies to.
workflow_state
Workflow state of the override. (active, deleted)
assignment_override_updated
Definition: The event is emitted anytime an assignment override is updated by an end user or API request. Only changes to the fields included in the body of the event payload will emit the updated
event.
Trigger: Triggered when an assignment override has been modified.
Payload Example:
Event Body Schema
assignment_override_id
The Canvas id of the assignment override.
assignment_id
The Canvas id of the assignment linked to the override.
due_at
The override due_at timestamp, or nil if not overridden.
all_day
The overridden all_day flag, or nil if not overridden.
all_day_date
The overridden all_day_date, or nil if not overridden.
unlock_at
The overridden unlock_at timestamp, or nil if not overridden.
lock_at
The overridden lock_at timestamp, or nil if not overridden.
type
Override type - ADHOC
(list of Students), CourseSection
, or Group
.
course_section_id
(if type='CourseSection'
) Canvas section id that this override applies to.
group_id
(if type='Group'
) Canvas group id that this override applies to.
workflow_state
Workflow state of the override. (active, deleted)
assignment_updated
Definition: The event is emitted anytime an assignment is updated by an end user or API request. Only changes to the fields included in the body of the event payload will emit the updated
event.
Trigger: Triggered when an assignment has been modified.
Payload Example:
Event Body Schema
assignment_group_id
The Canvas id of the assignment group.
assignment_id
The Canvas id of the new assignment.
context_id
The Canvas id for the context the assignment is used in.
context_type
The type of context the assignment is used in (usually Course).
context_uuid
The uuid of the context associated with the assignment.
created_on_blueprint_sync
Whether or not the assignment was created in the context of a blueprint sync.
description
The description of the assignment. NOTE: This field will be truncated to only include the first 8192 characters.
due_at
The due date for the assignment.
lock_at
The lock date (assignment is locked after this date).
lti_assignment_id
The LTI assignment guid for the assignment.
lti_resource_link_id
The unique identifier of the assignment resource in the LTI specification. Unique per Canvas shard.
lti_resource_link_id_duplicated_from
The LTI resource link ID of the original assignment. Present if new assigment is a copy.
assignment_id_duplicated__from
The Canvas id of the original assignment. Present if new assigment is a copy.
domain_duplicated_from
The Canvas domain of the root account of the original assignment. Present if new assigment is a copy.
domain
The Canvas domain of the root account of the assignment.
points_possible
The maximum points possible for the assignment.
submission_types
Valid methods for submitting the assignment, may include multiple comma separated options.
title
The title of the assignment. NOTE: This field will be truncated to only include the first 8192 characters.
unlock_at
The unlock date (assignment is unlocked after this date), or null if not applicable.
updated_at
The time at which this assignment was last modified in any way.
workflow_state
Workflow state of the assignment (deleted, duplicating, fail_to_import, failed_to_duplicate, failed_to_migrate, importing, published, unpublished).
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated