-
API for Individual Student Attendence in a Course
I am trying to pull student attendance data for a specific course. My current method is to use: 'api/v1/users/sis_user_id:$user_sis_id?access_token=$access_token' to get the user's ID in canvas that is different than the $sis_user_id in this case. Once I have the User's ID, I use:…
-
Todo API returns blank/no results
Hello, I am working to make a sync script to pull Canvas Todos out from the API and return them. If I log into Canvas and view my "To Do" section, there are several assignments, announcements, quizzes, etc listed. If I call the assignments API (/api/v1/courses/:course_id/assignments/), they are all returned. However,…
-
Invalid access token field/s: the 'aud' is invalid --- just for single student
Hi, I've been using LTI 1.3 to passback grades successfully from my application to Canvas and have just encountered something a bit odd. As the title suggests, I'm getting "Invalid access token field/s: the 'aud' is invalid" but this is only for a single student at the university. They all have the same *.edu email. Any…
-
How to submit an assignment with external tool for the teacher to speedgrade
I am a new developer, using Canvas. I am confused that when I add an assignment with external tool Submission Type and link a resource to show. The student can do assignment with external tool ,but how to sumbit his work in external tool , it may have a button called "Submit", and then when the teacher do the speedgrade,…
-
Anyone having issues with custom JS recently?
We use custom JS to hide the +App button from teachers in a course. We also use similar code to prevent adding users to courses in the UI. Up until recently everything had been working properly. We had several people reach out and we confirmed our code is no longer working as expected. It seems that Instructure may have…
-
SSO with web apps
We provide a web app that is widely used in Canvas (along with other LMS providers like BB). Our app has just implemented SSO with Google but this does not work well in Canvas. In order to operate within the shell, Canvas puts web apps in an iframe (BB does this as well). Google SSO does not support Oauth with iframes and…
-
Page views api endpoint returns empty array for all users
I am trying to retrieve page view information from the canvas API. For Example: {{domain}}/api/v1/users/1/page_views This request returns a 200 status but the response is an empty array `[]` Is there some sort of setting I must activate in order for canvas to start collecting page views? Or perhaps a plugin of some kind…
-
bulk edit TIME of assignments, or set default on 30 min?
Is there a way to set a due time on the half-hour? I.e., our classes start at 9:30, 10:30 etc and as the instructor I like to have the assignments due at the start of class. I could make them due 30 minutes earlier, but that’s strange and confusing, and guaranteed to result in students submitting work late. I also don’t…
-
Gradebook History API Call Returns "user not authorised to perform that action"
We are building an integration from the Canvas Gradebook to our SIS for K-12 Assessment Reporting through the available REST API. I am not 100% certain this is the correct API call to get the grades however it seems to be the closest. My problem is that when I make the GET API call to the…
-
REST API leaves rubrics ratings in incoherent state (bug?)
Hi, I am trying to use the Canvas REST API to update the rubrics ratings of a submission for an assignment. I am using the "Grade or comment on a submission" endpoint (https://canvas.instructure.com/doc/api/all_resources.html#method.submissions_api.update) for this:…
-
Determine sub-accounts via JQuery?
Here's a scenario I'm trying to figure out: I have created a new sub-account for online students at our college. I also created a new role for the students based off of the original student role. I want to have a link in the Global Navigation help menu called "Support for online students" that is only visible for these…
-
GraphQL schema not visible
I'm a developer and accessing the graphql API via an infrastructure access token generated from my personal access token. Why is the schema not visible? (Introspection is disabled)
-
SAML Redirect to Classroom After Login
Re-post to Canvas Developer Group. Is there a URL or other type of parameter we can pass along with the authentication provider direct URL so after SSO the person lands on a specific course. For example /login/saml/40?course_id=125 Seems like it may be possible using redirect_state, but I am not seeing how to implement…
-
Create / Import course content and pages with embedded media with the API
Hi! I am new to Canvas and looking for guidance on importing or creating pages with embedded images. Going through the documentation the steps I would follow would be: * Use the course API to create a course * Get the course ID * Use the page API to create a page using the course id What I am not sure how to do. How do I…
-
LinkedIn Learning LTI - Question about current LTI version
Good afternoon. The only documentation I can find on LinkedIn Learning LTI is based on OAuth 1. Have they developed an LTI based the latest standard, LTI 1.3? Thanks for your help. Chuck Chrisman