Skip to main content
Module

x/gesso/src/Sections.ts>Sections

A TypeScript API client for Canvas LMS
Latest
class Sections
extends BaseApi
import { Sections } from "https://deno.land/x/gesso@v0.1.2/src/Sections.ts";

Constructors

new
Sections(config: Configuration)

Methods

createCourseSection(
course_id: string,
body?: unknown,
): Promise<Section>
crosslistSection(
id: string,
new_course_id: string,
body?: unknown,
): Promise<Section>
decrosslistSection(
id: string,
body?: unknown,
): Promise<Section>
deleteSection(id: string, body?: unknown): Promise<Section>
editSection(
id: string,
body?: unknown,
): Promise<Section>
getSectionInformation(
course_id: string,
id: string,
body?: unknown,
): Promise<Section>
listCourseSections(
course_id: string,
body?: unknown,
): Promise<Section[]>