Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gesso/types/params.ts>CreatePageParams

A TypeScript API client for Canvas LMS
Latest
interface CreatePageParams
import { type CreatePageParams } from "https://deno.land/x/gesso@v0.1.2/types/params.ts";

Properties

optional
wikipagetitle: string

The title for the new page.

optional
wikipagebody: string

The content for the new page.

optional
wikipageeditingroles: string

Allowed values: teachers, students, members, public

optional
wikipagenotifyofupdate: boolean

Whether participants should be notified when this page changes.

optional
wikipagepublished: boolean

Whether the page is published (true) or draft state (false).

optional
wikipagefrontpage: boolean

Set an unhidden page as the front page (if true)

optional
wikipagepublishat: Date

Schedule a future date/time to publish the page. This will have no effect unless the “Scheduled Page Publication” feature is enabled in the account. If a future date is supplied, the page will be unpublished and wiki_page will be ignored.