-
Assigning a user as an observer with the API
I have been exercising the APi a bit now for an integration project I am working on. One of the few issues I am having involves setting a user as an observer while enrolling a student in a course. Before I get to this point, I have: Added two users through the API using PHP: URI: accounts/self/users Params: 'pseudonym' =>…
-
Bulk Avatar assign/upload
I am stuck and have decided to turn here to find assistance. I am not a developer but have tinkered around enough with API calls, python, postman, curl, and I am just about to lose my mind. AI was useless and just went in circles. I am just trying to upload about 250 student profile pictures as their Canvas Avatar. I have…
-
Course Navigation API Sequence
Hello, Canvas Community. API calls are not in within my wheelhouse, and I've run into a roadblock I'm hoping someone can assist me with. I have the initial API call for Tabs (Course Navigation) working as expected and can run one at a time. However, when it comes to course consistency I'm looking for an easy way to run a…
-
Thread with space for Global Custom Navigation
An improved tool for adding items to the Canvas Global Navigation (Desktop and Responsive menus), with the ability to use it to extend and add additional features into the navigation with custom trays or tray modifications. https://github.com/robert-carroll/canvaslms-global-custom-navigation
-
Uploading file works but students cannot access it
I am using the API to upload a file, I am providing the user_id retrieved from canvas when obtaining the assignment submissions from the json response. Then I use that user_id in the following code: link_url = request_url("%s/assignments/%d/submissions/%d/comments/files" % (self.base_url, self.configuration.assignment_id,…
-
Canvas Development Server - Outbound email not working
Bitnami Canvas image - Sending email notifications isn't working I'm currently using the AWS Bitnami image (Ubuntu 20.04) for deploying Canvas and they are referring folks back to canvas-lms for help. I'm having a good experience with this so far (fixed issues with SSL, LTI, SIS Imports, and RCE API), but emails are still…
-
API call to list all sub-accounts for a parent account is not returning all sub-accounts
Hi, I am using the api/v1/accounts/1/sub_accounts method to return a list of all sub-accounts for account 1. A valid response is received, however, not all the sub-accounts for account 1 are returned. I recently created a new sub-account, but this new sub-account is not included in the API response. We only have one…
-
Gradebook via api
Hello, Currently I look for my students' grades by searching for data from the gradebook. Considering that the log contains many records, I paginate the results. Here's an example: GET => /api/v1/courses/71761/gradebook_history/feed?page=1&per_page=10&workflow_state=graded At the end, I close the loop and start searching…
-
Catalog subpages
I am trying to uss css to add a header to a subaccount on canvas catalog. Each time I try, nothing happens. Does anyone have any suggestions? I just want to link to an image as a header.
-
Using Canvas to log into an external web app based on course enrolled on
I was wondering if it's possible for users to log into an external web application but only based on if they are students who are enrolled on a particular course? I was also wondering if it's possible to only let the course owners have additional permissions within the web application (i.e. act as 'admins'). I'm new to…
-
Editing dp-wrapper class
I'm wondering if there is a way to edit the dp-wrapper class that is automatically added to a canvas page. With the dp-wrapper class as it is it limits the width of the page to an arbitrary value, whereas I would like the page to scale its width dependant on the screen viewing it. Prior to the most recent update to Design…
-
Any way to use OpenID Connect authentication directly for SSO without requiring an LTI Launch starti
Launching a tool from within canvas works fine for intructors but occasionally users may need to access the tool directly without clicking from from a course. Open ID Connect does allow for this, but when we try to authenticate this way we receive an error from Canvas stating that is a bad request and that…
-
Hiding Conversations tab from certain IP ranges
Is anyone aware of a way you can hide the Conversations/Messages tab in Canvas from certain IP addresses? We manage a large testing center and would like to prevent students from using the messages feature while in our facility. Of course, we look for this behavior, but it's more difficult to catch since it's built into…
-
Launching REST API tool in iFrame
I'm wondering about the capabilities of launching an integrated tool in a Canvas-nested iFrame. Is this possible without implementing LTI specs...? I'm currently working on a tool that's written as a REST API consumer (for good reason - LTI doesn't provide access to much of what this tool is helping with). I haven't seen…
-
Bulk Update Gradebook Column Issue
If we make the PUT API call(https://XX.instructure.com/api/v1/courses/891/custom_gradebook_column_data) with the below request { "column_data": [ { "column_id": "214", "user_id": 506, "content": "PRESENT" } ]} We are getting the below exception: 403 Forbidden: "{"status":"unauthorized","errors":[{"message":"user not…