update_page: Update page content

View source: R/simple_functions.R

update_pageR Documentation

Update page content

Description

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

Usage

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.


ICTO-FMG/uvacanvas documentation built on Dec. 6, 2024, 2:32 p.m.