update_course_settings: Update course settings

View source: R/simple_functions.R

update_course_settingsR Documentation

Update course settings

Description

This functions update the settings of a course.

Usage

update_course_settings(
  course_id,
  allow_student_discussion_topics = NULL,
  allow_student_forum_attachments = NULL,
  allow_student_discussion_editing = NULL,
  allow_student_organized_groups = NULL,
  filter_speed_grader_by_student_group = NULL,
  hide_final_grades = NULL,
  hide_distribution_graphs = NULL,
  lock_all_announcements = NULL,
  restrict_student_past_view = NULL,
  restrict_student_future_view = NULL,
  show_announcements_on_home_page = NULL,
  home_page_announcement_limit = NULL
)

Arguments

course_id

the canvas id of the course (integer)

allow_student_discussion_topics

allow students to create discussion topics (boolean)

allow_student_forum_attachments

allow students to attach files to forums (boolean)

allow_student_discussion_editing

allow students to edit discussions (boolean)

allow_student_organized_groups

allow students to create organize groups (boolean)

filter_speed_grader_by_student_group

filter speed graders by student group (boolean)

hide_final_grades

hide grade totals from students (boolean)

restrict_student_past_view

Restrict students from viewing courses after end date (boolean)

restrict_student_future_view

Restrict students from viewing courses before start date (boolean)

show_announcements_on_home_page

show announcements on homepage (boolean)

home_page_announcement_limit

set announcements limit on homepage announcements (integer)

Value

server response. Either 200 status code if everything went correctly or a specific http status warning.

Examples


update_course_settings(6348, hide_final_grades = T, hide_distribution_graphs = T)

ICTO-FMG/uvacanvas documentation built on Dec. 6, 2024, 2:32 p.m.