-
Find the Outcome ID
I am working to make small changes (update the mastery points) to Outcomes through the API. I have the syntax to make changes, but I can not locate the Outcome ID for individual Outcomes. I ran through the Outcome export but the ID field is not listed. Does anyone know where to find the Outcome ID for each outcome?
-
Retrieve Canvas ID and SIS User ID using User ID in Canvas LMS
"During the LTI launch, I am receiving the following parameters: * canvas_id * sis_user_id * login_id * global_canvas_id * user_id The user_id is in this format: "9dfd5a225d8c9dacba7302c095df431b5e40fb63," which I initially saved in the database. Is there any API call in Canvas or any other method to retrieve the canvas_id…
-
Attendance module in canvas - message for absences
I am currently exploring the Attendance Module in Canvas LMS and its capabilities for sending automatic messages to students who are marked as absent. Is there any way to setup multiple registers for different lessons on the same day? I have a few other questions: * Configuring Absence Notifications: How can I set up…
-
Get admin roles through API
Hi all, I'm hoping someone might be able to help me out, as I'm running in to some brick walls on a project... I'm trying to create a javascript function to be used for customizations in our theme that will return what I refer to as a users roles in context... What I mean by that is that if the user is on a page in course…
-
Get courses based on an attribute setting
What api endpoint can be called to fetch a list of all courses in our system based on a course attribute? The ultimate objective is to find the courses with a restrict_student_past_view attribute equal to 'false', so I can then use the Update Course Settings endpoint to change it to 'true'. I thought the List your courses…
-
Virtual Reality in canvas
I'm interested in integrating virtual reality (VR) content into my Canvas course using the Oculus Quest 2. I've explored a few options for embedding VR content in Canvas, but I'd like to gather insights from the community: * Link Integration: How can I create a link to VR content in Canvas? Are there any best practices or…
-
OutcomeResult.id is "null" from /api/v1/courses/:course_id/outcome_results, how so?
I'm getting outcome results via "/api/v1/courses/:course_id/outcome_results" and some of those results have "id" field equal to "null", wondering why is that? what does it mean? Is it because those results got deleted/overwritten somehow?…
-
[PHP - Curl] Handling pagination with acces_token
Hi there! https://canvas.instructure.com/doc/api/file.pagination.html I would like to retrieve +100 students per account and per page. According to Canvas API documentation, "The one exception is that if an access_token parameter is sent for authentication," I always send the acces_token for authentication; if I would…
-
Add New User using API on Canvas Free for Teachers
Hello, I'm looking to automate inviting users to a Canvas page on Canvas Free for Teachers based on their email address. I looked at the https://canvas.instructure.com/doc/api/enrollments.html#method.enrollments_api.create API and saw that it takes in a user_id. How would I go about getting or looking for…
-
Global Navigation Custom [Sub Account] Help Links
I heard a DJ recently say "disk space is cheap, inspiration is not", after a composer finished something they were about to delete. I have a folder of these little hack ideas people had and sharing seems nicer than deleting them. Function for global or sub account themes to add help items to the Help Trays for sub…
-
Global Navigation Custom Links
https://github.com/robert-carroll/ccsd-canvas/tree/main/global-nav-custom-links I've updated this to fully support the responsive hamburger menu for custom links. There is no more jQuery. Please, test before production; Feedback, always welcome.
-
New Quiz API call to create a quiz
When I make a Classic Quiz API call to create a quiz, I can specify whether it's published or unpublished. The default is unpublished, which makes sense to me. When I make a New Quiz API call to create a quiz, there is NO option to specify that. And the default is published! Is there a way around that? Thanks.
-
REST API - Creating rubric gives 200 OK status but does not create rubric
I am currently trying to write some Python scripts to automate creating rubrics for my courses. At the moment I'm testing against a test course I have. I'm able to successfully do some GET requests in Python, but my POST request to create a rubric isn't working. Documentation:…
-
Add question to New Quiz with Canvas API
I have successfully created a New Quiz with the Canvas API. And I have successfully been able to apply an override. I had to change both of those calls from the code that I was using for Classic Quizzes. But, I have been unable to create a question for a New Quiz. The API documentation does not show any change to the API…
-
Locking Icons in Modules
Anyone figure out a way to Lock all locking icons in the course modules? I know Instructure has it to where it is manually done one locking mechanism at a time. I have about 300-400 new courses that need to have the items in the modules locked and I am not wanting to do them all individually. The courses have multiple…