create_canvas_module: Create a course module

View source: R/uploads.R

create_canvas_moduleR Documentation

Create a course module

Description

Create a course module

Usage

create_canvas_module(
  course_id,
  name,
  unlock_at = NULL,
  position = NULL,
  require_sequential_progress = NULL,
  prerequisite_module_ids = NULL,
  publish_final_grade = NULL
)

Arguments

course_id

a valid course id

name

the module name (only parameter required)

unlock_at

datetime - The day/time the module is unlocked. Accepts times in ISO 8601 format, e.g. 2014-10-21T18:48:00Z.

position

integer - The position of this module.

require_sequential_progress

boolean

prerequisite_module_ids

integer

publish_final_grade

boolean - whether the final grade should be published upon completion

Value

invisible

Examples

create_canvas_module(course_id = 432432, name = "Module 1")


daranzolin/rcanvas documentation built on May 18, 2024, 2:33 p.m.