editPage: Edit a new wiki page

View source: R/editPage.R

editPageR Documentation

Edit a new wiki page

Description

Create a new wiki page for the provided course or group.

Usage

editPage(
  ID,
  page_url = page_url,
  title = NULL,
  body = NULL,
  edit = "teachers",
  notify = FALSE,
  publish = TRUE,
  front = FALSE,
  server = "test",
  ...
)

Arguments

ID

Course or group id to create the page in

page_url

The short url path of the page

title

String of page title.

body

String of body content.

edit

String of roles that can edit page ("teacher","student","members,"public")

notify

Boolean to specify whether users should be notified of creations

publish

Boolean to publish the page after creating.

front

Boolean to set page as the front page

server

Test, beta, production, or other name in R.environ OR full url of server

...

Optional page options to pass to processRequest


erikpal/bRush documentation built on May 9, 2023, 8:27 p.m.