createPage: Create a new wiki page

View source: R/createPage.R

createPageR Documentation

Create a new wiki page

Description

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

Usage

createPage(
  ID,
  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

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.