-
Adding lti 1.3 custom tool to existing page
We are having problems with adding a lti 1.3 custom tool to an existing page in a course. The custom tool performs as expected when included during the initial creation of a course page. However, if we save the page and attempt to edit it by adding the custom tool through the editor button, we are not able to add the…
-
Getting error in deep link flow while using public jwk url
Launch is working fine, deep link launch is working. Also, able to create assignment. But, getting error in returning to canvas after creating the assignment. {"errors":{"jwt":[{"attribute":"jwt","type":"JSON::JWK::Set::KidNotFound","message":"JSON::JWK::Set::KidNotFound"},{"attribute":"jwt","type":"JWT verification…
-
Retrieve the blueprint course id based off a course id
I see that there is a way to find all the associated courses assigned to a blueprint course /api/v1/courses/<blueprint_course_id>/blueprint_templates/default/associated_courses however, how would I find what that blueprint_course_id is associated with a specific course. As of right now the only information in the course…
-
Front end applications into Canvas
Hello Canvas Devs! Me and my team at our university are building a tool to measure potential students who could fail a course. Details aside we wanted to incorporate a visual representation of said risk ie: a meter, a color theme, a percentage etc. I don't hold very much knowledge of how to integrate anything front end…
-
How to get the real time course details while a course is created or updated in canvas to my applica
I want to clone the newly created/updated courses from my canvas LMS to my web application in real time. Is there any way
-
Generating Student Analysis Reports using APIs (Python)
Good day, I'm working on a project to extract data (survey data - student analysis) from the platform for running and completed courses. I've been using this API to get reports that were generated already & then download the report using the file link generated link. I've attached a screenshot Request…
-
Download File from Canvas using Python
I'm trying to download a file from Canvas using Python. When I use the API to fetch the file by ID I get a response that contains a URL like the following: /files/{id}/download?download_frd=1. However I can't seem to download this. I've tried using requests.get(url,allow_redirects=True) but I just get redirected to the…
-
Embedded CSS in a page.
Using the canvas API I found that I can embed blocks of CSS in the wiki_page[body]. for example: .fp-body-columnx{ width:280px; word-wrap:break-word; } .fp-body-container{ display:flex; flex-wrap:no-wrap; justify-content: center; } @media (max-width:900px) { // these don't work in Canvas! .fp-header-span-second { display:…
-
Is there a way to restrict an LTI tool's visibility to be *only* students but neither instructors no
The Canvas API docs suggest that using the 'member' value visibility in an LTI's course navigation's XML configuration would make the tool visible to students. However, experience suggests that the tool becomes visible *not just* to students but also to everybody else. Has anybody figured out a way to make a tool truly…
-
Canvas API showing most of my classes as hidden because of date incorrectly
Ok so when I make a GET request for a list of all classes I'm in, I get a list of about 10 classes and only 1 of them is actually visible (I'm currently in 5 classes that should be visible). The weird part is that if a make an GET request to get my TODO list, it turns up the assignments from the classes that are hidden. In…
-
APIs for a newbie
Hi, APIs look like they could be incredibly useful for us but the problem is I don't know the coding languages that APIs speak. I'm aware they are powerful and could easily break something. This is why I'm currently just looking at the GET requests and working in the beta environment. My question is, is it possible in API…
-
ModuleItem Limitation
Hello Fellow Canvas Developers, I'm an amateur coder and I need your help! I'm trying to get/list all the moduleItem objects within a module into an array. I'm only able to load the first 10 moduleItems into an array. In the module there are more than 10 items . How can I load all the moduleItems into the array? My code…
-
Canvas API call to generate a Parent Observer Code
I had code that would make a Canvas API call and return a Parent Observer Code and expiration date to insert into an email I could then send to a parent but it just stopped working. I know my token and address are both correct because they work on all of my other API calls. Any idea? Did the API endpoint get changed or…
-
Add Outcome Event Trigger
When outcomes are added to a course via Find and the Add Outcomes to Course page - is there a Live Event that is triggered by this action, and if so what event is it? Via Data Services and Configure Data Stream for message type Canvas and application type Data Streaming I subscribed to all events in order to capture the…
-
Canvas API - can we post announcemets that include a deep link to LTI app?
Hi, we have an LTI app with course navigation placement. I want to clarify is it possible to post an announcement in a course via Canvas API which includes a link that once clicked it navigates to the LTI app in the course navigation placement? If yes, I'd like an example. Thanks