create_page: Create page

Description Usage Arguments Value

View source: R/simple_functions.R

Description

This page updates the page content of a page. Content must be written in html.

This page updates the page content of a page. Content must be written in html.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
create_page(
  course_id,
  page_title = NULL,
  page_body = NULL,
  published = T,
  front_page = NULL
)

create_page(
  course_id,
  page_title = NULL,
  page_body = NULL,
  published = T,
  front_page = NULL
)

Arguments

course_id

the canvas id of the course (integer)

page_title

new page title (character)

page_body

new text written in html (character)

published

is page published (boolean)

front_page

make this page front page (boolean)

Value

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.


ICTO-FMG/uvacanvas documentation built on Jan. 24, 2022, 5:16 a.m.