-
Creating a user via the api with a destination parameter to automatically login user
I am creating a user through the canvas API and once created I need to redirect my user to the canvas instance and ideally have the user automatically signed in. Looking at the docs : https://canvas.instructure.com/doc/api/users.html#method.users.create, I can see that I have to set : - user[skip_registration] as true -…
-
I am unable to view all the courses for which i am an observer using the api
I am unable to view all the courses for which i am an observer using the api. https://canvas.instructure.com/api/v1/courses?access_token=. For some courses i get "access_restricted_by_date": true which I get all details for other course. Why is this so? How can i get around it?
-
Theme Editor (Admin) - Adjust Color for Icons Under RCE
Hello, We are editing our Theme in Canvas and noticed an issue with our color scheme and the features that are tied together in the theme editor. Our university's color scheme includes blue and yellow. We set our primary button color to be our specific shade of yellow with blue text on it. However, we found that the color…
-
"Requested ResourceLink has an unexpected content type" during NRPS API Call
We have a LTI 1.3 App external tool integration that makes a call to the Names and Roles API to fetch context membership but on occasion, we are unable to fetch the membership due to the API returning: {"errors":{"type":"bad_request","message":"Requested ResourceLink has an unexpected content type"}} We usually have the…
-
Duplicate attachment id's when filename is not unique
We have built an integration for our tool with Canvas. A student submits a document through our tool. Using the Canvas API, our tool uploads the file to a Canvas assignment. Uploading according to: https://canvas.instructure.com/doc/api/file.file_uploads.html#method.file_uploads.post Then using the attachement_id from the…
-
Inquiry: Integrating External APIs with Canvas
Hi @chriscas I hope you’re doing well. I was wondering if there is a way to use external APIs within Canvas or post APIs from other services to integrate them with Canvas. Could you please let me know if this is possible and how it can be done? Your guidance would be greatly appreciated. Thank you for your help! in advance.
-
Javascript to hide role in +people if FERPA training not completed
We are trying to see if there is a way using JavaScript to prevent Teachers from adding TAs and Graders to a course unless they have gone through FERPA training. Our Registrar keeps a database table listing all staff, students who have completed FERPA training and we were thinking of adding an attribute to Canvas USERS…
-
Is it true that we cannot get grades from a concluded enrollment via the Canvas API?
Hello Wonderful Developer Community, I have a question for you all. I hope I explain it alright and you can provide me with some insight. I must first preface by saying that I am not the developer of the LTI for which we are having an issue. I am the Canvas admin trying to figure out whose tree we should be barking up to…
-
Outcomes Mastery Report Formula
This is a bit of a cross-post, but I'm looking for the bright minds in this group to see if they have the answer to my post here: https://community.canvaslms.com/t5/Canvas-Question-Forum/Outcomes-Mastery-Report-for-Sub-account/td-p/611002 This isn't about APIs or anything of the sort, but lack of a feature that I hope…
-
Trying to figure out module_item creation behavior (parallel requests)
Hi all! Long-time lurker, first-time poster. Many thanks to everyone who has shared their tricks for negotiating the Canvas REST API, especially @James with parallel requests and pagination strategies! Huge help. Big kudos. 😃 As it says in the subject, I'm trying to figure out some module_item creation behavior. Here's the…
-
JSON entry for assignments with multiple due dates for different sections
I have an assignment (a graded discussion topic) that is assigned to different sections with different due dates for each section. It is not assigned to all students, only by section. When I query the API for the JSON entry for this assignment: 1) It has a listed due date which is one of the due dates assigned to one of…
-
Submitting a quiz submission on behalf of a student.
Little background on my app... we take a quiz and turn it into a bubble sheet so students can take tests in a "non-digital" environment. We have a mobile app that will scan the sheet and score. If a sheet was built from an imported Canvas quiz, we would like to automatically create a quiz submission for that user. We…
-
Need help: Debugging JavaScript for the Canvas App (it works in desktop and mobile browsers)
So now that I understand how Mutation Observers work, I'm happily coding away and doing all kinds of cool non-API things in Canvas. Life is good. Almost. See, there is one piece of code that is working beautifully in Canvas in the browser, both desktop and mobile, and on my phone when I go to Canvas via a browser. However,…
-
Sync student active status with LMS
I am a developer for an external tool provider, and I need to sync the active status of a student while they are doing the assignment. Currently, the status is synced with the LMS after the student submits the assignment. I need to sync the status while they are working on the assignment. Is there an API to sync this…
-
Is it possible to intercept the assignment submission?
I've built a tool with LTI 1.3 that works great within the assignment submission area. However, the student has to click a tab for my tool in order to use it, it's disconnected from the assignment submission process. My ideal flow would be: student uploads a file, Canvas sends the file to my tool which either responds with…