Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Canvas API

No security coverage

Part of the Canvas ecosystem · 38 projects

View on drupal.org

7.x-1.x
This is a simple module that helps implement the Canvas LMS API where it makes sense. Right now this provides:

  • A js function that will automatically resize the parent window if Drupal is iframed into Canvas LMS

This is not for LTI integration, if you are looking for that, check out https://drupal.org/project/lti_tool_provider . If your looking for something more future looking that utilizes both of these, check out https://www.elmsln.org/

Thanks to Tim Bracken for writing the snippet this is based off.

7.x-2.x
The 7.x-2.x branch is a backport of the 8.x-1.x branch and provides a single function, canvas_api(), that can be used to interface with Instructure's Canvas API set.

8.x-1.x
The 8.x-1.x branch of the Canvas API module provides classes to interact with Instructure's Canvas API set. For example, if you wanted to update a user's Canvas email based on a change in the Student Information System, this api would allow you to do that programmatically.

2.x
This branch pares down the module, so that rather than trying to build wrapper classes for all of Canvas' APIs, it instead takes in an HTTP method, a path, and parameters. So if, for example, you wanted to get all of the users in ART 101 (where the SIS ID is 3456), you could do to the following:

$users = \Drupal::service('canvas_api')->setMethod('GET')
    ->setPath('courses/sis_course_id:3456/users')
    ->request()

Also includes a tester page for testing API calls.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Release Timeline

Releases

Version Type Core Release date
2.0.0-rc2 Pre-release 8–11 Sep 13, 2024
2.0.0-rc1 Pre-release Sep 18, 2023
2.0.0-alpha1 Pre-release Jul 18, 2023