-
How to using API or LTI to submit scores for an existing assignment (Created from within canvas)
We are tool that offers a canvas integration to our customers. We want to give our customers the ability to sync some data from us into already created grades in canvas. We want to do this because often, teachers already have their courses set up at the beginning of the semester, with the right categories etc, and we just…
-
GraphQL behavior when query gets "limited"
Hi, In the GraphQL documnetation, it was mentioned that one should " Request reasonable page sizes to avoid being limited." What is limited in this context? Does this mean that the call would return an error or null? Or would it return an incomplete response with missing data. Does this affect unpaginated queries? Does the…
-
User registration through API
I m trying to perform user registrations through API but I always get 400 bad request. I send the mandatory requirements but it doesn't work, attached example
-
API call to enable account calendars for users
We've created an API to add an account calendar to all users' calendar list, but it's visibility is automatically set to false. The only way we've found that it can be set to visible is to get all of the users' course calendars and make them all visible. The goal is to enable the account calendar and have it visible…
-
Updated Rich Content Editor breaks LTI links
Today we started getting support tickets that items containing Kaltura LTI embeds break if you go to edit mode for the item. It's happening to other LTIs that use iframe embeds, too, Kaltura was just the first one that somebody noticed. Going to edit mode seems to be stripping portions of the html. An error message…
-
LTI 1.3 problem. Submission Type Placement modal doesn't close after successful deep linking
Context: I'm developing a LTI 1.3 tool that runs inside of Canvas. The placement is the "Submission Type Placement". I do not have this problem when running canvas locally in docker (canvas.docker). I'm running into this problem on a remote instance of canvas (asu-dev.instructure.com). Expected Behavior: After successfully…
-
User Custom Data / Showing in UI via Custom JS / Permissions
We're in the process of storing custom user data in Canvas using the API to support an LTI that needs data we can't otherwise display to them (user's home campus.) https://canvas.instructure.com/doc/api/users.html#method.custom_data.set_data Since the data will already be in there, I'd like to be able to allow…
-
GRAPHQL returns incorrect course ID
Hi I am writing some python to automate a few processes in Canvas via API calls. Using the following query: query CoursesByTerm ($term:ID!) { term(id: $term) { id name coursesConnection { nodes { _id name } } }}I get a list of courses in the term I require, however, some (about 1 in 4) of the courses return an incorrect…
-
Canvas GraphQL not sending X-Rate-Limit-Remaining header
We're re-implementing our REST API in the new GraphQL. For some of our queries we need to retrieve a large amount of data and we want to honor the throttling limits imposed by Instructure. For that we want to be responsive and make sure we process any rate information sent in the response message. So we're looking to find…
-
List external tools does not return data for courses
I'm working on a report to find which LTIs have been enabled on which courses, but GET /api/v1/courses/:course_id/external_tools is returning a blank array. I can get LTI data using the accounts endpoint with various account ids, but no such luck with courses. Has anyone else run into this problem? Here's some more…
-
Accessing external server from within canvas
I am trying to build an application that sends an http request to an external server and processes the returned JSON within canvas whenever a student submits an assignment. I found a lot of resources on accessing the Instructure API from external calls, but I need to do the opposite -- here canvas is the client and the…
-
Using sessionless launch of the RollCall LTI tool to take attendance.
Hello, I am developing an app to take attendance via smart phones and Bluetooth technology and would love a seamless integration with Canvas' roll call LTI. From my understanding Roll Call doesn't have an api, but I was wondering if I can use the sessionless launch feature to take attendance through an api call, if that…
-
underscore in RubricCriterion object IDs?
While working with Canvas rubrics, I've found that RubricCriterion objects' `id` property values seem to be special. Unlike most IDs, they are not integers. Instead, they are strings and they start with an underscore ("_"). See the example in the documentation……
-
Value of JSON fields returned by the API
Hi everyone, I'm trying to create a (somewhat) up-to-date OpenAPI3 specification (here) for the Canvas API, to use it with an OpenAPI3 Haskell code generator (here) to generate a Haskell client library for the API. My questions: Is it specified somewhere which fields in the JSON objects, that are returned from API calls,…
-
LTI 1.3 Deep Linking Assignment No Speedgrader Preview
Hi, I'm currently working on LTI 1.3 integration with Canvas. I created the Developer Key using the manual entry, with the Assignment Selection placement set to LtiDeepLinkingRequest. This seems to work fine: I can go from my Canvas development instance to my site by selecting "External Tool" in the Submission Type, choose…