Questions tagged [canvas-lms]

Canvas LMS (Learning Management System) is an educational tool that connects student with teachers. Tools include assignment/grading dashboards, multi-media instructional recorders, notifications, and more.

Canvas is an open LMS (Learning Management System) created by Instructure that allows for the management of users and roles (faculty, students, etc), courses and sections, course content, assignments, and grades in a standardised format set by IMS Global.

Extending Canvas

While the current offering includes many features, the open framework allows heavy customisation in a safe way.

  1. The Canvas API allows you to access, update or delete a wide variety of content and settings. The format mainly complies with LTI 1.X specifications at present.
  2. Developing LTI Tools (External Apps) allows you to augment the standard offering and expand on available features. You can also release you're enhancements through many online forums including the EduAppCenter. IMS Global has provided some example code found here to jump start your project.
126 questions
7
votes
1 answer

How can I use Canvas Data REST API using python?

The organization I work for is starting to use Canvas LMS and I was in charged of pulling out the platform's data and in order to help with data insights. It's great that Canvas LMS offers a Data API but I had a hard time fiding a Python wrapper to…
fernandosjp
  • 2,658
  • 1
  • 25
  • 29
4
votes
1 answer

Displaying RMarkdown HTML output in the CANVAS LMS

I am trying to display R code and output in the CANVAS LMS (specifically within a page, not just as a separate html file). I have had no joy Googling this so hopefully someone can help. What I have tried (as a simple test) but hasn't worked: In…
4
votes
2 answers

Yarn fails with TypeError: Cannot read property 'yarnPath' of null

I am trying to get yarn installed on my mac, yarn installs but running yarn commands hangs with the following error. >yarn TypeError: Cannot read property 'yarnPath' of null at loadRcFile (/usr/local/lib/node_modules/yarn/lib/cli.js:56945:49) …
Jean Linux
  • 217
  • 5
  • 19
4
votes
1 answer

LTI 2 tool Proxy registration is failing with 400 or 500 error

I am developing an LTI Tool Provider in Python and have had no problems getting any aspects of LTI 1.x basic launch working or the Content Item specification. I have hit a huge brick wall though trying to use the LTI 2 registration…
Michael Robellard
  • 2,268
  • 15
  • 25
3
votes
3 answers

Invoke-WebRequest Canvas LMS API pagination

I cannot to seem to find any examples on this topic and I would like to know how to do it. Can anyone show me an example or point me to a link on how to do pagination in powershell with Invoke web-request? The challenge I am facing is that I am…
Franco Pettigrosso
  • 4,056
  • 2
  • 20
  • 32
3
votes
2 answers

What is SIS ID's in Canvas Lms

I don't understood the sis id concept in canvas. there are multiple sis types of sis id's in canvas e.x: sis_course_id,sis_user_id. A very small explanation I found which i don't understood is this: "Throughout the API, objects are referenced by…
TolerantCoder
  • 53
  • 1
  • 5
3
votes
1 answer

How to set the bookmarking (cmi.location) for SCORM 1.2?

I tried to bookmarking for flash SCORM 1.2 packages. I'm properly capturing the last visited data(cmi.loation, suspend data), but when I'm trying to reset the data for next launch, SCO is not relocating, it is starting from beginning. And I set the…
2
votes
1 answer

Unable to access site cookie after LTI Launch

I have a small LTI application that integrates with canvas, and after the LTI launch I can't access the cookie. This is failing in Safari (always) and Chrome (sometimes). I am forcing the SameSite=LAX field of the cookie. I'm not sure what else I…
2
votes
0 answers

Canvas - LMS - How to get answers submitted by a user for a quiz?

I am trying to get the answers submitted by a user for a certain question of a certain quiz. I tried the following API endpoints, but none of them are returning the desired data: GET…
Trevor Track
  • 196
  • 1
  • 14
2
votes
1 answer

How get a course section details in Canvas LTI 2.0

I want to fetch the course section details from Canvas, I am using LTI 2.0. Asper the API document I can get the section sis_id's that the user is enrolled in but I am not getting…
A H K
  • 1,758
  • 17
  • 29
2
votes
0 answers

I've installed the Canvas LMS; when I run canvas_init start, I get an error

As stated in the title, I get an error. Specifically, this: Undefined local variable or method `git_source' for Gemfile from /var/www/canvas/Gemfile.d/_before.rb:53 I checked bundler: canvas$ bundler -v which returns: Bundler version…
Kickasstimus
  • 197
  • 15
2
votes
0 answers

Process killed when running npm install during file generation step of production guide (Canvas LMS)

I am trying to set up a canvas lms on an amazon ec2 Ubuntu environment. I've gone so far until the file generation step of the production environment guide. I've been able to successfully follow the steps until this point. Steps to reproduce: I was…
Momin Zahid
  • 346
  • 1
  • 3
  • 12
2
votes
2 answers

Canvas LMS REST API Quiz creation

I'm having an issue with quiz creation using the Canvas REST API: I can create a new quiz with title set. I can add N questions with the following parameters set: question_name question_text question_type points_possible answers When I look at my…
dogwynn
  • 408
  • 3
  • 13
2
votes
1 answer

Missing enrollment terms in Canvas LMS API

I am currently doing some work with the Canvas LMS REST API and have run into an issue when trying to retrieve a list of all enrollment terms defined in the system. When viewing the terms in the online system, I can see all the terms that have been…
Shoeheart
  • 83
  • 1
  • 9
2
votes
0 answers

assets compilation in Canvas LMS on ubuntu

I am trying to setup Canvas-LMS on my system but during assets compilation I am facing some problems. These are my node versions: node-gyp -v v3.0.3 node -v v4.2.1 npm -v 2.10.1 This is my console screen while I am trying to compile my…
Pradeep Agrawal
  • 307
  • 2
  • 10
1
2 3
8 9