-
Can Canvas act as an LTI tool
I would like to build an LTI consumer and consume an instance of canvas as though it were an LTI tool. I believe the LTI spec allows for this, but I'm curious if there are docs or if someone can point me in the right direction? The use case is to add functionality to the left/top/right rail of the page and I've found that…
-
500 Internal Server Error with empty deep linking responses
In my tests, when a user is returned to Canvas with a deep linking response message which does not contain a content_items parameter (or an https://purl.imsglobal.org/spec/lti-dl/claim/content_items when using LTI 1.3), a "500 Internal Server Error" response is being generated. Both versions 1 and 2 of the IMS Deep Linking…
-
Bug with accessing LTI tool's public key set?
My explorations suggest that Canvas is failing to find a public key from a URL which returns a JWK Set with a content-type header of "application/jwk-set+json" as per the JSON Web Key (JWK) spec (see https://datatracker.ietf.org/doc/html/rfc7517). I get an error of…
-
canvas api create module item Discussion getting content not found (but SubHeader works fine)
Hi Im making this call to api https://k12com.instructure.com/api/v1/courses/589/modules/2454/items?module_item[title]=titlesilly&module_item[type]=Discussion&module_item[completion_requirement]=must_contribute and getting back {"message":"Could not find content"} Which seems to be the catchall error. If I…
-
How to know Enrollments done by "Self / API / SIS Import"
I'm using API to enroll our teachers in the course. For some courses, Teachers assign another Teacher for the course. Now, I would like to know which one is done by API, which one is by Teacher. Many Thanks.
-
Using canvas API to get student submissions - workflow_state shows graded when grade is null
I am trying to get unsubmitted student submissions using the endpoint 'api/v1/courses/:course_id/students/submissions?workflow_state=unsubmitted'. Overall this works, however there seems to be a bug, where if a student did not submit an assignment and the teacher enters a grade, but then removes it so that it's showing as…
-
3rd party app using canvas API, how does one become a 3 rd party app, and set up with API key?
Hi - Im working on a 3rd party app in Canvas. How does one become an official 3rd party app in Canvas - like you see in that long list of 3rd party apps. Also my app involves calling the Canvas API - which involves having a canvas instance's API key of course. So how does that work for someone who wants to use my app? Do…
-
After uploading files successfully using the API the files get automatically deleted. Why?
I'm uploaded exported courses to canvas for course migration. They get uploaded successfully but then get automatically deleted. What is causing them to be deleted?
-
Getting Notified When Someone Registers on Canvas
Hi! I am looking for either a webhook (ideally) or an API endpoint that I can poll in order to get details on new registrants/sign ups to Canvas... I have looked through the API documentation but I can't seem to find anything but I am sure I am missing it or it is buried somewhere! Thanks!
-
Only GET Requests Sent to External Tool
Hi, I'm looking into creating my own external tools. I've set up a web service that is running over HTTPS. I've manually configured my tool in Settings / Apps. I've added a name, secret, launch URL, and some custom fields. Privacy is set to public. The app is successfully registered. When I then add a new assignment with…
-
Custom JS to sort courses on the admin user profile page by active/inactive
In order to make it easier for admins to access a given user's active courses when a user has been enrolled in a number of courses, I created a JS function to sort any active courses to the top of the "Enrollments" list. With all the active courses sorted to the top of list, admins don't have to scroll through a long list…
-
Can you shut off 'undelete' feature; Need to clean up /tmp/files/... ?
Hi I am not sure if I should as this in the bitnami or Canvas forum, so thank-you for your patience and consideration if you need to send me elsewhere. We have a standalone bitnami Canvas installation, and we are running out of disk space. After deleting 5G of files via Canvas, no space was returned to the disk…
-
Media Objects API
Has anyone been able to successfully grab a list of Kaltura videos via the Media Objects API? I've tried both the user and course scope examples and each time, get a successful response (200) but nothing at all in the result (empty array). Very frustrating, since there are lots of videos there, and I can successfully embed…
-
Bug in analytics API - Broken
This end point is not working in the API: /api/v1/courses/:course_id/analytics/assignments This is the response we get: {"errors":[{"message":"An error occurred.","error_code":"internal_server_error"}],"error_report_id":113041592} All other analytics endpoints are working. We checked analytics UI and can see that they are…
-
API to remove all students from section
Hi, I want to remove all user from a section of a course using REST API, but API docs only have route to remove single user. Can't use that cause of rate limiter, any other alternative way?