-
Canvas API only returns courses that I created, How can I return all courses on the instance ?
I am using the canvas api to retrieve all courses from my canvas instance. In order to do this I : - create a new access token in /profile/settings - Then use this access token to perform an API call to list all courses with https://canvas.instructure.com/doc/api/courses.html#method.courses.index This works well. However…
-
Pass data to iframe page as non-admin
Overview of issue On a Page, I'm trying to pass data that to an html file I'm loading via iframe. The main data I need right now is current user/course data, so passing data from the window.ENV object would be ideal. I do not need to receive data from iframe. Receiving data would be helpful, but I know that's a completely…
-
Add People to Course via API
Does anyone have an example of how to add a user to a course via the API? I can see how to do it via browser but im trying to automate enrollment into a class.
-
Global Announcements API: as an admin, is there any way to see all current announcements for an acco
I've been poking around the Global Announcements API, and while I can post announcements for specific roles (as an admin), I cannot seem to pull the information for a specific announcement (or even when pulling all announcements) if I am not in that role. Going to the account page in the UI, I can see all the…
-
Prevent Students editing course nickname on Canvas OS App
Our middle school is having issues with students editing the course nicknames to be mean and inappropriate words/emojis. Students are using iPads and the Canvas OS app. One of our Canvas admins found a way to edit the Theme and prevent nicknames from being changed but that is only working if using Canvas through a web…
-
Edit Section ID API Error
Hello, I need to update the section SIS ID, section start date, and section end date for a lot of courses in a term. I've tried the PUT request in the live API to edit a section and it worked. The course section was updated. I'm using Postman now to make the edits to many sections using the PUT request, body, and runner…
-
Is it possible to set default grades/post grades for assignments via API?
I have a number of assignments which are created automatically via MyLab, and posting each of them via the web interface, as well as setting default grades for them, is very tedious. Even if it wasn't, my preferred way of working with Canvas is via the API. Is there a call for posting grades for an assignment (that is,…
-
Displaying a video within an iframe within a details tag (without the video getting squished)
Hi all, I have a Canvas page with a bunch of details tags that I'm using like an accordion. In one of the , I've embedded an iframe that has a video. When I look at it in the RCE, it displays mostly how I want it to, except that I want it to be center-aligned. (Shown in attached image canvas_iframe_rce.png) But when I view…
-
Error 403 when accepting enrollment invitations via API
Hello! I am in the process of developing a feature to facilitate the acceptance of multiple enrollments for students on our platform. We offer a large number of courses and to simplify the lives of our students, I am creating a modal window that lists all the courses pending acceptance. The goal is to allow the student to…
-
Unable to automate updating the override score
I'm looking for a way to automate updating the override score. We are calculating an attendance value on external data to Canvas, and then subtracting this value from the unposted current score and setting the result as the override score. We would be doing this daily. I've looked at GraphQL, but this appears to be read…
-
Canvas Course API: Fetch only newly created and updated courses
Hello Everyone, I'm developing an application that accesses course data from the Canvas API using the endpoint GET /api/v1/accounts/:account_id/courses. After each sync, I need to pull all the courses for an institution into my application, which is causing API performance issues. To optimize this, I would like to fetch…
-
Canvas API 404 error when getting users from a group_id
I am a TA in a course looking to develop some scripts using Python (but am currently building the endpoint in Postman for testing). My goal is to retrieve the users in a course's group, as we use groups on a course to sort students into graders. I have been able to retrieve a list of Group objects with the endpoint…
-
BigBlueButton Plugin Doesn't Save Settings
installed canvas following the Production Wiki on ubuntu 20.04 When i try to save bigbluebutton plugin settings, it gives an error and doesn't save them. I added error image to attachments. /var/canvas/log/production.log file is attached to the this forum topic. You can open it and check logs.
-
New Quizzes API Problem
I am try to use the New Quizzes API to modify an existing quiz. For example, to remove the restrict student result view I use the following call with cURL: curl https://domain.edu:443/api/quiz/v1/courses/51989/quizzes/1765410 -X PATCH -H "Authorization: Bearer…
-
Need guide for ui app
Hello, I'm trying to get started to build an app in Canvas that shows up in the course menu. I want teachers to be able to configure the app's features and enable/disable certain capabilities. I want students to be able to post questions on a particular module in the ui. I need help getting started on the UI. I have built…