-
sis_course_id do not included in course with enrollment_state is completed
Hi Everyone I'm integrating an LTI tool using Canvas API In our use case, we want to get the sis_course_id of a student when using `url:GET|/api/v1/users/:user_id/courses` but when I tried to get the course with "enrollment_state": "active" it has sis_course_id but the another with "enrollment_state": "completed" which has…
-
Removing course language setting ( course[locale] ) via API
Our team is looking to standardize all courses to have the language setting follow a user's default language selection, as opposed to enforce at the course setting level. While most are set as "default" or "not set," we're finding that some of our blueprint courses already have the language set "English." I'm having…
-
SmartSearch with exact match?
Developing a batch job to look for references in any course content to a soon to be deprecated site we will call "school.domain.edu" I am querying smartsearch with the term "school.domain.edu" and getting many false positives. So I have tried looking at only the highest value for "relevance" if it is > 90, and I am still…
-
Access course allow_student_wiki_edits property via Canvas API
I need a way to get the value of "can create, rename, and edit course pages by default" from the course settings page via a Canvas API. I understand it maps to allow_student_wiki_edits from the course object; there is a way to set this value using the Course POST or Course PUT, but there isn't a way to read it. I am happy…
-
Disabling notifications for observers
This is likely not the first time this has been asked. I want to turn off notifications for observers from the courses where they are enrolled only as an observer (i.e. leaving their regular notifications enabled in courses where they are, say, the teacher). This _feels_ like it should be setting somewhere. But… I know…
-
GraphQL authentication using browser cookies
i have a python script that attempts to get assignments using the graphql API and replicating the request send when you klick the execute button (note we neither can nor will ever use oath2 because we do not have the resources to get verified ) #!pythonimport browser_cookie3import requestsimport jsoncj =…
-
How to access and manage Question Banks via API? All endpoints fail
Is there any working API endpoint to access and manage Question Banks? I need to: * List all question banks in a course * View all questions within those banks Every endpoint I've tried returns 404 or empty responses, including: * /api/v1/courses/[course_id]/question_banks *…
-
DocViewer API
I am attempting to access the DocViewer API. I'm getting stuck on authentication. I've tried various things, including the generic apikey, but I keep getting a 403 error. I am writing in Python. The code looks like testdocumenturl = "https://canvadocs.instructure.com/1/documents/" + vDocument[0].get('canvadoc_document_id')…
-
Not able to access custom LTI Tool on Community Canvas LMS Setup our Own Env.
I hope this message finds you well. We have recently installed the latest version of Canvas using the instructions provided on the Canvas LMS Quick Start Guide. Following the installation, we have integrated our custom LTI (Learning Tools Interoperability) tool designed for Assignment management. However, after the…
-
Get Credentials UserID for API awards
Greetings, If there is a Credentials Developer forum, please move this question to it. We are working on a project to award Credentials/Badges automatically and have run into a user id issue. From the API docs , it seems that one must know the userID of a user and badge to award a badge to a user. The API docs specify how…
-
Authenticate using user access token instead of username and password
Hello, I'm currently testing some aspects of how an LTI (not our own tool) in our Canvas environment is performing using selenium in python. For this I would like to authenticate to Canvas using a user generated access token as described on…
-
Granting "Permissions - Manage" - Is that the only programmatic way to get an Admin user role?
From my other post: https://community.canvaslms.com/t5/Canvas-Question-Forum/Granting-Admin-Permissions-to-Third-Party-Integrations/m-p/638140 I want to check to see if there is any other way for a third-party integration (Dev Key / LTI 1.3 / Access Token / custom JavaScript) to be able to retrieve the logged in user's…
-
Gaining an LTI Developer Key Outside of My Institution
I am an adjunct faculty and I want to develop tools I find useful. I can do some superficial things with an open authenticated session, but to do anything interesting I need an LTI dev key. My institution does not allow development in the live environment. I've seen a few posts that I can either use the open source…
-
API returning all my page_views but only first iteration of other users
Hello, I have a script designed to return a users page views. All the logic seems correct and if I enter my user ID it will return as many of my page views as I request. But when I enter a different users Canvas ID it'll only return the initial page of results, in this case 30, and then wont return anymore results…
-
Clean up unused Outcomes?
I'm searching through the API documentation and can't seem to find a way to list all the outcomes used in rubrics at the course level. The reason I'm posting is that I'm doing a bit of maintenance on our institutional outcomes assessment initiative. For the purpose of simplifying the learning mastery grade book at…