update_page: Update page content

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
update_page(
  course_id,
  link = NULL,
  page_title = NULL,
  page_body = NULL,
  front_page = NULL
)

update_page(
  course_id,
  link = NULL,
  page_title = NULL,
  page_body = NULL,
  front_page = NULL
)

Arguments

course_id

the canvas id of the course (integer)

link

url link/ name of the page (character)

page_title

new text written in html (character)

page_body

new text written in html (character)

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.