-
access token with multiple course roles, missing anonymous_id in submissions
Hi, We created an external Canvas application. within the application we use several API calls to get information from Canvas. The access for these API calls is determined by the Canvas user using our application (OAuth2). One of the API calls we do, is getting all submissions. Included in the results is "anonymous_id". If…
-
Course Update
Hello, I am trying to update the end dates for my Canvas courses. I am using the Canvas API module imported to Python. Looking at this, I assumed that I would be able to just use the update method. Based on this documentation, I thought that I could do so by passing course{end_at] = [date] as a parameter. So, my code looks…
-
Understanding developer keys in public application
I'm looking to integrate the Canvas API with our web applications so that instructors can use their Canvas data, and I am a bit confused regarding the 'developer keys". I want all our users to be able to integrate with their institution. From my research on similar posts here as well as the docs I assume I need to.. 1. Run…
-
API Analytics - Student Submissions - Undocumented value "Status = Floating"
Good Morning Using the Analytics API https://canvas.instructure.com/doc/api/analytics.html#method.analytics_api.course_assignments Specifically this endpoint "Get user-in-a-course-level assignment data" GET /api/v1/courses/:course_id/analytics/users/:student_id/assignments Returns the payload as expected but also included…
-
sso
Hello, So here is the thing: we have an app where we allow users to login using their google or clever account so they don't have to create their user account. So some of our users use canvas. They want us to use their canvas account to login to our app as it can be done with google. And we tried to look for the proper…
-
SAML Redirect URL
Hi all, We've been testing the use of SAML authentication in Canvas given that the SAML option allows us to set-up a Logout URL redirect. We've noticed that when a user does sign out, the logout url does work as expected. However, the logout URL is very long string. That is to say, it redirects to our webpage, but at the…
-
POST sis_account_id vs. GET sis_account_id
Hi, I've been using the Canvas API for years now, overall I'm happy with the way it works and the way it's documented. However when rewriting some (well all) of the integration code we have with our student information system, I stumbled upon the following problem which I had completely forgotten about since doing the…
-
Act as user via API
I'm working on a "control center" app for common work tasks. I need a function that takes in a user, then opens a web browser with the signed-in admin acting as that user. I'm scanning all through the docs and can't find any way to activate the "act as". Is there any way to do this via API? If not, any other ideas? Pretty…
-
Canvas LMS API - "What-If Scores"
As the subject of the post indicates, I want to know if it's possible to access the "What-If" scores from the API. I've looked this the documentation, but I haven't see any mention of these scores or how to access them. However, I feel that it's very possible that I missed it, since the data for these "What-If" scores…
-
Hiding Grader role in +people for non-FERPA trained students.
Hi, All, We are hoping that possibly Javascript/CSS might be able to show/hide the Grader role from an instructor so that only FERPA trained students would be able to be assigned that role. Our idea is to use our unused 'bio' field in Users to add FERPA attribute (indicating the user has gone through FERPA training.) This…
-
IMSCC import "Import Error: File -"
Hi! I am setting up a self-hosted canvas instance. It is running quite well so far. After enabling the job service, I could also start an import of an IMSCC file. Although I got a lot of "Import Error: File -". As far as I can see, there is no content besides plain text, i.e. zip files, SVG files, PNG files, etc. The IMSCC…
-
Can we use grant_type as client_credentials for API Developer key instead of LTI Developer key?
I need to use canvas APIs for an ETL job i.e a backend job which runs everyday, where I need to extract data by using canvas APIs(authenicated through a API developer key) then do some transformation to the dataset to display to user. Since its a background job, we do not have anything for clients to authenicate it…
-
Submissions API: retreive where workflow_state either graded or submitted same call
Using the Submissions API, "List Submissions for Multiple Assignments" is it possible to restrict the query to return submissions with a workflow_state of either 'graded' or 'submitted' in one API call? I am calling the API from a Python script using the Requests module. I find I get no data back with…
-
Discussion Student Settings API
Is there an API to update Discussion Student Settings on a Course? I'm specifically looking to toggle the 'Report Replies' setting https://community.canvaslms.com/t5/Discussions-Announcements/Canvas-Release-Discussions-Announcements-Redesign/ta-p/464064#toc-hId--450516865
-
Filter Course Enrollment API results
Is it possible to filter an API get to only return the ID of students where the final grade is not null?