-
Edit Assignment with API - Error: assignment is missing
Hi all, I'm new to the Canvas API and am doing some rudimentary testing. I am currently trying to edit an assignment through the API, and the response I get is 400: assignment is missing. It seems very similar to this post except that the provided solution is not applicable to me (so far as I can tell). Here is my code:…
-
Create a valid createDeepLinkingForm
How can I create an assignment with a createDeepLinkingForm to show in the editor an image and a text.? const items = [ { type: "ltiResourceLink", text: inputName ? inputName : `Launch ${resourceName} in CloudApps`, title: element.name, custom: { collectionId: collection ? collection.id : "", imageId: collection ?…
-
Developing an LTI tool with Auth0
Hello! I'm currently developing an LTI tool for Canvas (1.3/Advantage). I've followed this documentation, and got a basic version working for Resource Links: * A user clicks on the resource link from Canvas. * Canvas calls the /login endpoint on my LTI tool, which sends back an auth request. * Canvas calls the /launch…
-
imscc file after upload to course
Hello everybody, I have self-hosted canvas LMS and I`m wondering can I remove *.imscc file from storage [server site - my stroage path tmp/files/] when process of uploading and importing file to course is ended? Is it needed for some reason to the system or is it a 'trash' file without dependencies? Regards Robert.
-
Re: creating/adding a new field of info for a user.
Hi @MoatazKhan12 No, it's not possible to adjust the record structure of the "users" record to add new fields, at least not if you are licensing the cloud-hosted SaaS version of Canvas.
-
Making changes via Tabs API does not clear cache; workaround?
When we change a course tab's visibility via the Tabs API, the change does get saved (the Settings > Navigation page looks correct) but the change does not take effect. For example, if we hide a tab using "PUT /api/v1/courses/:course_id/tabs/:tab_id" with a body containing hidden=true, the tab remains visible in the course…
-
How many entities supports to GraphQL? Can you provide list of all those entities?
From the API documentation we came across 134 entities. Some of them supports GraphQL. Can we have the list of those entities supporting GraphQL? Do we have Canvas API documentation for GraphQL? Do we have schema endpoint for entities supporting GraphQL in Canvas LMS?
-
Linking information in dropdowns on the same page
Linking information in dropdowns I would like to link within the same page from one drop down to another. When the link is clicked it will automatically open the dropdown it is directed to. For example: I want to drop down #1 to open automatically with an anchor link in a drop down #2 on the same page. Drop down #1: Title…
-
Quiz Reports API include file
Dear Community, I am trying to understand the Quiz Reports API. In the documentation, it indicates the following searching parameter for the end point of "Get a quiz report": include String[]Whether the output should include documents for the file and/or progress objects associated with this report. (Note: JSON-API only)…
-
Use API to Copy specific Assignments from one course to multiple courses
Hi Everyone - i'm a definite API novice and I'm hoping someone might be able to give me some tips. I have used Postman in the past to bulk migrate a source course into multiple courses using a simple POST URL with a "course" variable and a CSV with the list of the Canvas IDs for the destination courses. What I want to do…
-
Find all assignments with no submissions
Hi all! I'm looking for a bit of advice using the Canvas API to find a body of assignments across any of our active courses. Specifically I'm looking for assignments that: * are posted to the SIS * have an upcoming due date * do not yet have any submissions I'd also like to find what sections each assignment is assigned…
-
Getting Progress for User in Course via Graphql
Currently via the REST API i am using a combination of 3 endpoints to get a users progress across all enrolments 1. api/v1/users/user:ID/enrollments?enrollment_type=student This gives me all enrolled course grades and a few other handy things Then I use…
-
Adding support for Custom Course Apps/Integrations
Hello, I'm instructor that uses the Canvas LMS for a number of courses. Using the the API tokens for my courses, I developed scripts that automated some of the grading. This involved a polling loop that queried whether or not submissions were available for grading, pulling the submissions down to a specifically configured…
-
How to apply CSS with pages API ?
I would like to create page with API. No matter I put the css in inline or internal way, API fail to handle it. Are there any way that can apply CSS to API call? Thank you.
-
Edit an assignment through API - assignment is missing
I am having trouble with the API editing an assignment. I can create an assignment without any trouble by posting this message {assignment:{ name:`${name}`, submission_type:'online_url', points_possible:..., published:..., due_at:... }} to `https://${url}/api/v1/courses/${course_id}/assignments`; I get back an assignment…