Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
All Canvas LTI Variables for substitution
context_title: "$Context.title",
com_instructure_post_message_token: "$com.instructure.PostMessageToken",
com_instructure_assignment_lti_id: "$com.instructure.Assignment.lti.id",
com_instructure_originality_report_id: "$com.instructure.OriginalityReport.id",
com_instructure_submission_id: "$com.instructure.Submission.id",
com_instructure_file_id: "$com.instructure.File.id",
course_offering_sourced_id: "$CourseOffering.sourcedId",
context_id: "$Context.id",
context_sourced_id: "$Context.sourcedId",
message_document_target: "$Message.documentTarget",
message_locale: "$Message.locale",
tool_consumer_instance_guid: "$ToolConsumerInstance.guid",
canvas_api_domain: "$Canvas.api.domain",
canvas_instructure_com: "$canvas.instructure.com",
canvas_api_collaboration_members_url: "$Canvas.api.collaborationMembers.url",
canvas_api_base_url: "$Canvas.api.baseUrl",
tool_proxy_binding_memberships_url: "$ToolProxyBinding.memberships.url",
canvas_account_id: "$Canvas.account.id",
canvas_account_name: "$Canvas.account.name",
canvas_account_sis_source_id: "$Canvas.account.sisSourceId",
canvas_root_account_id: "$Canvas.rootAccount.id",
canvas_root_account_sis_source_id: "$Canvas.rootAccount.sisSourceId",
canvas_external_tool_url: "$Canvas.externalTool.url",
com_instructure_brand_config_json_url: "$com.instructure.brandConfigJSON.url",
com_instructure_brand_config_js_url: "$com.instructure.brandConfigJS.url",
canvas_css_common: "$Canvas.css.common",
canvas_shard_id: "$Canvas.shard.id",
vnd_canvas_root_account_uuid: "$vnd.Canvas.root_account.uuid",
canvas_course_id: "$Canvas.course.id",
vnd_instructure_course_uuid: "$vnd.instructure.Course.uuid",
canvas_course_name: "$Canvas.course.name",
canvas_course_sis_source_id: "$Canvas.course.sisSourceId",
canvas_course_start_at: "$Canvas.course.startAt",
canvas_course_workflow_state: "$Canvas.course.workflowState",
canvas_term_start_at: "$Canvas.term.startAt",
course_section_sourced_id: "$CourseSection.sourcedId",
canvas_enrollment_enrollment_state: "$Canvas.enrollment.enrollmentState",
canvas_membership_roles: "$Canvas.membership.roles",
canvas_membership_concluded_roles: "$Canvas.membership.concludedRoles",
canvas_course_previous_context_ids: "$Canvas.course.previousContextIds",
canvas_course_previous_course_ids: "$Canvas.course.previousCourseIds",
person_name_full: "$Person.name.full",
person_name_family: "$Person.name.family",
person_name_given: "$Person.name.given",
person_email_primary: "$Person.email.primary",
vnd_canvas_person_email_sis: "$vnd.Canvas.Person.email.sis",
person_address_timezone: "$Person.address.timezone",
user_image: "$User.image",
canvas_user_prefers_high_contrast: "$Canvas.user.prefersHighContrast",
canvas_group_context_ids: "$Canvas.group.contextIds",
membership_role: "$Membership.role",
canvas_user_is_root_account_admin: "$Canvas.user.isRootAccountAdmin",
canvas_user_sis_integration_id: "$Canvas.user.sisIntegrationId",
canvas_logout_service_url: "$Canvas.logoutService.url",
canvas_masquerading_user_id: "$Canvas.masqueradingUser.id",
canvas_masquerading_user_user_id: "$Canvas.masqueradingUser.userId",
canvas_xapi_url: "$Canvas.xapi.url",
caliper_url: "$Caliper.url",
canvas_course_section_ids: "$Canvas.course.sectionIds",
canvas_course_section_sis_source_ids: "$Canvas.course.sectionSisSourceIds",
com_instructure_context_label: "$com.instructure.contextLabel",
canvas_module_id: "$Canvas.module.id",
canvas_module_item_id: "$Canvas.moduleItem.id",
canvas_assignment_id: "$Canvas.assignment.id",
canvas_assignment_title: "$Canvas.assignment.title",
canvas_assignment_points_possible: "$Canvas.assignment.pointsPossible",
canvas_assignment_unlock_at_iso8601: "$Canvas.assignment.unlockAt.iso8601",
canvas_assignment_lock_at_iso8601: "$Canvas.assignment.lockAt.iso8601",
canvas_assignment_due_at_iso8601: "$Canvas.assignment.dueAt.iso8601",
canvas_assignment_published: "$Canvas.assignment.published",
lti_link_custom_url: "$LtiLink.custom.url",
tool_proxy_binding_custom_url: "$ToolProxyBinding.custom.url",
tool_proxy_custom_url: "$ToolProxy.custom.url",
tool_consumer_profile_url: "$ToolConsumerProfile.url",
vnd_canvas_originality_report_url: "$vnd.Canvas.OriginalityReport.url",
vnd_canvas_submission_url: "$vnd.Canvas.submission.url",
vnd_canvas_submission_history_url: "$vnd.Canvas.submission.history.url",
canvas_file_media_id: "$Canvas.file.media.id",
canvas_file_media_type: "$Canvas.file.media.type",
canvas_file_media_duration: "$Canvas.file.media.duration",
canvas_file_media_size: "$Canvas.file.media.size",
canvas_file_media_title: "$Canvas.file.media.title",
canvas_file_usage_rights_name: "$Canvas.file.usageRights.name",
canvas_file_usage_rights_url: "$Canvas.file.usageRights.url",
canvas_file_usage_rights_copyright_text: "$Canvas.file.usageRights.copyrightText",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.