-
How to let students from ANY Canvas school log in to a custom dashboard app?
Hi Canvas Community! I'm building CanvasSync, a student-focused web app that makes Canvas easier to use. The goal is to: - Show all courses, assignments, and due dates in a cleaner, more organized dashboard - Make it easier for students to track their work across multiple classes - Provide a more modern and user-friendly…
-
Canvas New Quizzes/API?
I feel like the community will give me a clearer answer than Canvas support. Our schools is working on integrating Simple Syllabus and we were setting up the API key. I asked if the Quizzes endpoint included both New Quizzes and Classic Quizzes since our school is transitioning to use both. Our rep was going to look into…
-
Using cURL and the Conversations API to create messages doesn't work
I have to create a bunch of messages (like, 1000 custom messages to specific students), and I'm trying to do it with the Canvas API. By way of testing, I'm trying to get it to just create a message to me based on my userID. When I put in the cURL command, it runs to completion, and gives me the created object (including ID…
-
Get current_score for student in a course for spring semester only.
I see how to get the current_score for a student in a course using the api endpoint: /api/v1/courses/{course_id}/enrollments This current_score is for the whole year, but I want the current_score the spring semester only. How do I filter by the spring semester? Essentially, I'm trying to get values in the column in the…
-
embed iframe code in text file to generate QTI file
Greetings, I follow text2qti to create QTI file to upload to Canvas. https://github.com/gpoore/text2qti I now want to add iframe code to the text question to embed a Youtube videos on the question. Will you provide a minimum working example (MWE)? Thank you in advance,
-
change subaccount's parent_account with api
Hi. I want to change a subaccount's parent account (parent account is another sub-account). My code: const CANVAS_API_URL = `https://canvas.arsolution.com.tr/api/v1/accounts/${canvasId}`; const CANVAS_TOKEN = process.env.CANVAS_ADMIN_TOKEN; const data = { account: { name: updatedName, parent_account_id: newParentId } }…
-
Adding elements to an assignment page by editing the DOM with Javascript
Hello All! I've done my best to figure this out using the available resources, but I can't seem to get it to work. I'm attempting to add visual elements around a SCORM object in an assignment (reason: We need to capture whether someone has completed this activity and pass a grade). We have put SCORM objects on other pages…
-
Updating quiz grades
I cannot find a way to update using the Canvas API grades for individual quiz questions. I was able to update the whole quiz grade (using the assignments interface) but wasn't able to make REST calls to update the individual question grades within the quiz. Is it possible to do this through the Canvas API for classic…
-
It is possible to make an API call to pull a xlist report from multiple terms?
I'm making an API call to get the report showing crosslisted courses in Canvas, but I want to restrict the report to terms. It would seem I can do this by using parameters[enrollment_term_id]=XX in my call, but this limits the response to only one term. The campus I'm working with has multiple active terms so I'd like to…
-
Canvas API Email Change Confirmation Issue: Any Solutions?
Canvas API Email Change Confirmation Issue: Any Solutions? I recently created a script that edits users using the Canvas API (https://canvas.instructure.com/doc/api/users.html#method.users.update). The script is pretty straightforward: you insert the user ID and the details you want to change, and it's updated via the API.…
-
My custom javascript cannot pull the Canvas User ID while used in Canvas, but can in SCORM cloud
Hello! In my Storyline project, we are hosting an artificial intelligence based tutor on an AWS server - to keep some privacy, the start of the URL is https://s3.us-east-2.amazonaws.com and the end is /index.html?user=[%UserID%] Our goal is to have the following javascript search for the Canvas User ID, store it in the…
-
Is it Possible to Calculate Quiz Subscores?
Is it possible to auto-calculate "quiz" subscores? For example, my exams cover four chapters each, and students get an overall score, but I also want them to get chapter-specific subscores. In my particular case, for example, Items 1-20 would be Chapter 1, Items 21-40 would be Chapter 2, Items 41-60 would be Chapter 3, and…
-
Email Attribute Missing on Canvas User API
Hello Canvas Developers, I'm building an application for my school as a project for one of my courses and authentication for this wil being handled by our own Canvas instance with OAuth2. But I encounter an issue with retrieving the email attribute via the users endpoint. Details: * Canvas Instance Setup: I have set up our…
-
LTI 1.3 application, not showing iframe on beta environment, using Assignment view placement
Hi, 2 years ago we created a LTI 1.1 application using Assignment view as placement option. This was working perfectly, we also had control over the width & height of the iframe, in some cases we could set the height to 0 pixels. Last year we wanted to upgrade to LTI 1.3, but discovered the iframe suddenly had a fixed…
-
Updating assignment 'publish' status via LTI API calls
I am developing an LTI, and as part of that need to create assignments in Canvas. My LTI tool has a corresponding 'publish/unpublish' field for its items, and I would like to create/update Canvas Asignments with a matching field. I have tried adding published: true or false to my payload, but this seems ignored. How can I…