Canvas LMS/Quick Reference
From r00tedvw.com wiki
API web listing
insert /doc/api/live
at the end of your domain in the URL field of a browser
https://<canvasdomain>/doc/api/live
Gives you a fantastic listing of available API commands, implementation notes, descriptions of the classes, and parameters. Fantastic!
undelete items from course
insert courses/courseid/undelete
at the end of your domain in the URL field of a browser
courseid
is a variable you'll need to look up.
https://<canvasdomain>/courses/courseid/undelete
exposes the last 25 items you deleted from the course and lets your restore them.
Python QTI Migration Tool
Required for importing quizzes that are exported in QTI format (canvas default).
~$ sudo apt-get update && sudo apt-get install -y python-pip libxml2-dev libxslt1-dev python-dev ~$ sudo pip install lxml ~$ cd /var/canvas/vendor ~/var/canvas/vendor$ git clone https://github.com/instructure/QTIMigrationTool.git QTIMigrationTool ~/var/canvas/vendor$ cd ./QTIMigrationTool/ ~/var/canvas/vendor/QTIMigrationTool$ sudo chown canvasuser ./migrate.py ~/var/canvas/vendor/QTIMigrationTool$ sudo chmod +x ./migrate.py ~/var/canvas/vendor/QTIMigrationTool$ cd /var/canvas/script/ ~/var/canavs/script$ sudo chown canvasuser ./delayed_job ~/var/canvas/script$ sudo su canvasuser ~/var/canvas/script$ ./delayed_job restart