Skip to content

Expose the ltiContextId#75

Merged
buckett merged 1 commit intooxctl:masterfrom
buckett:lti-context-id
Feb 3, 2026
Merged

Expose the ltiContextId#75
buckett merged 1 commit intooxctl:masterfrom
buckett:lti-context-id

Conversation

@buckett
Copy link
Member

@buckett buckett commented Feb 2, 2026

This isn't currently documented on https://canvas.instructure.com/doc/api/assignments.html

It returns the ID that is returned in the "https://purl.imsglobal.org/spec/lti/claim/resource_link" -> "id" claim.

Copilot AI review requested due to automatic review settings February 2, 2026 15:51
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support in the Assignment model for Canvas’s (undocumented) lti_context_id field so consumers can access the LTI resource link id associated with deep-linked LTI assignments.

Changes:

  • Added ltiContextId field to Assignment
  • Added getter/setter for ltiContextId
  • Added inline documentation explaining the field’s meaning/use

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

This isn't currently documented on https://canvas.instructure.com/doc/api/assignments.html

It returns the ID that is returned in the "https://purl.imsglobal.org/spec/lti/claim/resource_link" -> "id" claim.
Copy link

@nicholaswilson100 nicholaswilson100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@buckett buckett merged commit 9e834b4 into oxctl:master Feb 3, 2026
1 check passed
@buckett buckett deleted the lti-context-id branch February 3, 2026 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants