create_page | R Documentation |
Creates a new page in a specific course using the Canvas LMS API.
create_page(canvas, course_id, page_title, page_body, published = FALSE)
canvas |
A list containing the 'api_key' and 'base_url' for authentication. |
course_id |
The ID of the course in which to create the page. |
page_title |
The title of the page. |
page_body |
The body/content of the page. |
published |
(Optional) Whether the page should be published. Defaults to FALSE. |
A confirmation message that the page has been created.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.