Description Usage Arguments Value Examples
View source: R/simple_functions.R
This function creates a section in a Canvas course
This function creates a section in a Canvas course
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | create_section_in_course(
course_id,
name,
sis_section_id = NULL,
integration_id = NULL,
start_at = NULL,
end_at = NULL,
restrict_enrollments_to_section_dates = NULL,
enable_sis_reactivation = NULL
)
create_section_in_course(
course_id,
name,
sis_section_id = NULL,
integration_id = NULL,
start_at = NULL,
end_at = NULL,
restrict_enrollments_to_section_dates = NULL,
enable_sis_reactivation = NULL
)
|
course_id |
the canvas id of the course (integer) |
name |
the name of the section (string/character) |
sis_section_id |
the sis id of the section (integer) |
integration_id |
|
start_at |
start date of the section |
end_at |
end date of the section |
restrict_enrollments_to_section_dates |
restrict enrollments to a specific date |
enable_sis_reactivation |
server response. Either 200 status code if everything went correctly or a specific http status warning.
server response. Either 200 status code if everything went correctly or a specific http status warning.
1 2 3 | create_section_in_course(course_id = 6824, name = "Werkgroep_1")
create_section_in_course(course_id = 6824, name = "Werkgroep_1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.