-
Access token in python
This is probably an easy question, the answer to which will make me go 'Well duh'. I'm trying to get an access token for Canvas Data Portal 2 using python. I've gotten the client id and secret. I'm trying to create the request to use those to get the access token. Basically, what I want is an example of that in python. The…
-
Canvas Course İmport Package Problem
I want to export the Data Structure course module from my Canvas account and import it into another course. If I import it into a course within the same Canvas environment (e.g., Data Structure 2) using the content type "Canvas Course Export Package," after selecting and uploading the file, the current job status shows…
-
Fetching Marks for a course through API endpoint
Hi All, I'm looking for an endpoint where I can fetch 'Marks' for a certain course. I'm kind of looking where I can pass a course id and fetch the marks for all the students in that course through API. We're building an automation project this way of fetching data can be really helpful. I've tried multiple Live API but no…
-
Fetching grades data
Hello developers, For a statistics project for our school I'm currently interested in discovering how many of our students actually complete their courses. A course is considered completed if the student has been awarded more than 80% of the available points in the course, so in order to evaluate how many students complete…
-
Query user's assignments for all courses and list by due date in Next.js
Hello, I am a student working on a small application using the Canvas API for me and my classmates. I'd like to create a Next.js app that allows users of the site to sign in using their Google account, and then displays a list of their unsubmitted assignments, organized by due date (almost like a to-do list). Is this…
-
API upload endpoint for avatars
I'm trying to upload avatars for students that never had them. Apparently, one must upload a 128x128 image file, get the token from that, and use it in an upload post, such as this API endpoint for uploading files. But that documentation only talks about adding a file to a course, or homework submission. Anybody know how…
-
Using API to create LTIs
In Canvas Permissions, we disallow Teachers from adding/deleting/editing LTIs because we haven’t wanted them to link to software/platforms that haven’t been internally reviewed. But an external vendor ( https://idecisiongames.com ) has set up an LTI that requires a unique URL for each course that uses the LTI — and we…
-
Canvas Integration Help
I am a student who working with a group for our Software Engineering class. For the idea of our semester long project is creating an application with Canvas Integration. I tried to find resources about how to integrate an application to Canvas, but couldn't find any. My question is; Can you Integrate an application into…
-
Course in GraphQL API Does Not Have start/end Date Fields
I created a GitHub issue here: https://github.com/instructure/canvas-lms/issues/2407 The REST API has fields start_at and end_at for a course. The course has an associated term object but this is a different field than the course dates. This field should be accessible via the GraphAPI. Where is it?
-
Get module item name with GraphQL
I am new to GraphQL. When using the graphiql tool, I couldn't find a way to get module item names. See image below. What am I missing?
-
Set extra time on New Quizzes via API
My team is trying to set extensions on quizzes using the API. We are able to this on old quizzes via: POST /api/v1/courses/:course_id/quizzes/:quiz_id/extensions How can we do this for New Quizzes?
-
Change sub account through API or SIS import
I need to change the Canvas sub-account for a batch of courses. Is there a way to do this through SIS import or the API? Thanks. I'm a bit new to this.
-
API Post a matching quiz question creation
Hi James! @James I'm currently struggling with creating matching questions via API from a text file. While I'm able to create the matching question itself, the matching values are coming through empty, likely due to an incorrect JSON format in the body. Unfortunately, the Canvas documentation doesn't provide an example for…
-
Embed Canvas LMS SSO into External website
Hello I have searched your Canvas Commons Community, for various other related searches that either want content from a website into Canvas, but I want the opposite. I would like have an embeddable Canvas Single Sign-On that a user signs into Canvas from our institute website page about the course, that directly leads to…
-
Uploading pdf copy of a graded exam as a Submission or a as a Submission comment
I am an Exam 1 as an assignment. I'm looking to use the Canvas Submission API to make a pdf submission to the Assignment directly OR attach the file as a Submission Comment. PUT|/api/v1/sections/:section_id/assignments/:assignment_id/submissions/:user_id comment[file_ids] integerAttach files to this comment that were…