-
Granting "Permissions - Manage" - Is that the only programmatic way to get an Admin user role?
From my other post: https://community.canvaslms.com/t5/Canvas-Question-Forum/Granting-Admin-Permissions-to-Third-Party-Integrations/m-p/638140 I want to check to see if there is any other way for a third-party integration (Dev Key / LTI 1.3 / Access Token / custom JavaScript) to be able to retrieve the logged in user's…
-
Gaining an LTI Developer Key Outside of My Institution
I am an adjunct faculty and I want to develop tools I find useful. I can do some superficial things with an open authenticated session, but to do anything interesting I need an LTI dev key. My institution does not allow development in the live environment. I've seen a few posts that I can either use the open source…
-
API returning all my page_views but only first iteration of other users
Hello, I have a script designed to return a users page views. All the logic seems correct and if I enter my user ID it will return as many of my page views as I request. But when I enter a different users Canvas ID it'll only return the initial page of results, in this case 30, and then wont return anymore results…
-
Clean up unused Outcomes?
I'm searching through the API documentation and can't seem to find a way to list all the outcomes used in rubrics at the course level. The reason I'm posting is that I'm doing a bit of maintenance on our institutional outcomes assessment initiative. For the purpose of simplifying the learning mastery grade book at…
-
Limit/Modify Teacher Registration
I just setup my own production-ready instance of CanvasLMS, thankfully all the roadblocks I had, I was able to deal with before ending up here. I was wondering if there was any way to limit the self registration options when enabling that feature for the account. I found that I would prefer for students, and I guess…
-
Calendar error when adding an event
Hi devs, I'm using the open-source, self-hosted version of Canvas LMS installed on a VPS. When I try to attach a Module to my course calendar using the "Course Link" connection menu, I get this error: An error occurred. Please check your connection, reaload the page and try again Also in my console.log, I see: api.js:461…
-
Javascript Themes
Hi everyone, I'm working on a tool that adds a custom button to the Canvas interface using JavaScript injected via a Canvas Theme. The goal is to allow teachers to calculate and update rubric scores for an assignment (e.g., entering an average mastery score into a rubric criterion using the Canvas API). So far, I'm able…
-
Canvas API page-view next response header not appearing
I had a working script at the end of last summer that doesn't seem to work lately. I think its got something to do with the response headers, for some reason the first next bookmark link returns no values. Here's the response headers it returns, Initial call…
-
Adding Students to a Course via API
Goal: Given a student's name and email address, I'd like to get them added to a course using the Canvas API and Python. For my purposes, either creating a Canvas account for them or sending them an invitation email to self register would be acceptable. I am using a Canvas Free for Teacher account and am the instructor for…
-
API Next bookmark returning no results
Hello, I've put together a script to draw long lists of student page view logs. Its using the pagination rel values as suggested and this was previously working, however I tried it recently and it will start with the first page of results correctly, however the next page bookmark link always returns no values even through…
-
After Columns HTML code in Rich Contact Editor
How do I end the column's HTML code then add a full sentence after? The "/div" code should end it, but when I add text, it continues to be in the columns. Any suggestions?
-
422 Unprocessable Entity when attempting to answer a quiz question
I am attempting to answer a Quiz Submission Question with the API. I'm first trying to answer a multiple choice question. When a user presses on a button to select an answer, the answer is intended to be submitted. I structured my request to be:…
-
lti.frameResize below the 450px limit, how?
Hi, We are using the assignment_view placement option. When enabled for a course, our custom LTI application (lti iframe) is visible on every assignment. However, we don't use our LTI application in every assignment. With LTI 1.1 we could set the iframe height to 1 pixel, so it showed as a line. With LTI 1,3 this doesn't…
-
Can an LTI Tool Access Assignments (LineItems) Created by Another LTI Tool or Manually?
Hi everyone, I’m working with an LTI (Learning Tools Interoperability) tool I created and trying to determine whether it can access assignments (lineitems) that were: * Created manually within Canvas. * Created by another LTI tool. From my understanding, LTI Advantage uses AGS (Assignment and Grade Services) to manage…
-
Developer Key Still Showing up in UI After Deletion
Hi everyone, After deleting the developer key through the web interface, it gets successfully deleted, but when I refresh the page, it reappears. I also tried deleting it via the Canvas API using DELETE /api/v1/developer_keys/:id, and the request was successful, but when I fetch the keys with GET…