update_wpage | R Documentation |
Update/Create page in course
update_wpage(
course_id,
page_url,
title = NULL,
body = NULL,
editing_roles = "teachers",
published = FALSE,
notify = FALSE
)
course_id |
a valid course id |
page_url |
a valid page url. |
title |
a string. The title for the new page. NOTE: changing a page's title will change its url. The updated url will be returned in the result. |
body |
a string The content for the new page. |
editing_roles |
a string. Which user roles are allowed to edit this page. Any combination of these roles is allowed (separated by commas). Allowed values: teachers, students, members, public |
published |
a boolean. Whether the page is published (true) or draft state (false). |
notify |
a boolean. Whether participants should be notified when this page changes. |
empty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.