-
Using the API efficiently
I need to get enrollments for each section in each course in semesters of interest. To do this, I load the list of semesters to get numeric IDs, filter those, then walk the semesters and get a list of courses and filter those, then walk the courses, then walk the sections, then for each of those, walk the roles, then walk…
-
html grid column size issue
I am having an issue with responsive columns. There is a gap between the columns that I cannot figure out how to remove. There isn't a page though when the boxes are stacked. I've tried setting the width of the column to 100% and auto. I've tried setting the margin to 0. Any ideas? I've pasted my code below. <div> <div…
-
OAuth 2.0 Auth Tokens & User Experience
Hello, I am the founder of an EdTech startup called Homework Muffin. We help busy students avoid that chaotic feeling of disorganization in their semester by creating organizational tools so they can live balanced lives. We're working on developing interaction with Canvas now. Our current process requires the user to enter…
-
10-Item API Call Limit
Hello, I am the founder of an EdTech startup called Homework Muffin. We help busy students avoid that chaotic feeling of disorganization in their semester by creating organizational tools so they can live balanced lives. We're working on developing interaction with Canvas now. We encountered a 10-item limit during a Canvas…
-
Missing LIS Claim
We are making a request to Canvas using the correct and consistent variables in order to get claims back from the public JWK endpoint (/api/lti/security/jwks) and in some cases we are getting the correct claims and in other cases, we are missing one of the claims. The one in question is the Learning Information Services…
-
LTI: Creating a deep link to external service using User Integration ID
Hey, Just wondering if any one has been able to create an LTI that uses an external parties deeplink so that i can add the link somewhere inside Canvas. We have the data we need to pass in the integration id field of all users in our instance but I'm a bit confused with the LTI creation process. I have tried following the…
-
Canvas API to import gradebook into Google Sheets
I have been trying to find a way to import all the information that is generated into the csv file when we "export the entire gradebook". I want to import it into a google sheets spreadsheets in a way that it is automatic. I found this online: * gsheet_canvas_api * Google sheet Which is exactly what I need, however I do…
-
What is last_activity_at enrollments API response?
Hi can someone tell me more about the field "last_activity_at" that is a part of the API response for enrollments. // The last activity time of the user for the enrollment, in ISO8601 format. "last_activity_at": "2012-04-18T23:08:51Z", https://canvas.instructure.com/doc/api/enrollments.html What counts as an activity? Does…
-
Getting 500 Error Trying to Post Assignment Through API and Google Sheets
Hi Everyone, Looking for some help with a problem as I'm not sure what's wrong. I'm going to start off with I'm not a coder and mainly just mess around with google sheets. I saw @James had a spreadsheet that changed assignment dates so I tried to modified it to mass submit assignments. Here's a link to my sheet:…
-
Canvas LMS REST API: get course users sort not working
According to the documentation for endpoint https://canvas.instructure.com/doc/api/courses.html#method.courses.users : GET /api/v1/courses/:course_id/users it is possible to add request parameter sort=last_login like this: GET /api/v1/courses/:course_id/users?enrollment_type[]=student&sort=last_login however this returns a…
-
LTI Advantage launch vs access token for NRPS
I'm currently looking to integrate Canvas through LTI Advantage with a tool, mainly in order to pull course rosters through NRPS, the Names and Role Provisioning Service. I unfortunately need to build the integration from scratch, so I've been combing over the documentation provided by Canvas. It seems to me that there are…
-
API functions to manage Developer Keys?
Are there any Canvas API functions for managing Developer Keys? At the very least, I'd like to be able to view and to create API keys and LTI keys via the API. Why? My organization has multiple Canvas instances. One of them is a test instance that I use to test Canvas integration code I develop. However, that test instance…
-
Project Idea Feasibility - Get any student data with their credentials
Hello, I am currently attempting to build a project that helps students get organized, and I was wondering if the canvas API was capable of allowing students to log in with a modal on my frontend so my app can get access to their course names and the meta data about their assignments. I've done a good amount of research,…
-
LTI 1.3 authentication response not sent
Good morning! I'm attempting to make the https call referred to as the 'Authentication Request' on step 2 of these instructions: https://canvas.instructure.com/doc/api/file.lti_dev_key_config.html#step-2 but the Authentication Response is not being sent when I make the call from within my code, despite the fact that I'm…
-
How do I get quiz questions and answers given a student's auth token?
It looks like given the auth token of a student's account, /quizzes/:id/questions endpoint is not accessible, same as the /assignments/:id/submissions endpoint. Using /quizzes/:id endpoint I am able to get the html_url: https://school.instructure.com/courses/1354624/quizzes/2056699, which returns the HTML page with the…