Skip to main content
Module

x/gesso/src/Courses.ts>Courses

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

Constructors

new
Courses(config: Configuration)

Methods

copyCourseContent(
course_id: string,
body?: unknown,
): Promise<Scope>
courseActivityStream(course_id: string, body?: unknown): Promise<unknown>
courseActivityStreamSummary(course_id: string, body?: unknown): Promise<unknown>
courseTodoItems(course_id: string, body?: unknown): Promise<unknown>
createNewCourse(
account_id: string,
body?: unknown,
): Promise<Course>
deleteCourse(
id: string,
body?: unknown,
): Promise<Scope>
getBulkUserProgress(course_id: string, body?: unknown): Promise<unknown>
getCourseCopyStatus(
course_id: string,
id: string,
body?: unknown,
): Promise<Scope>
getCourseSettings(course_id: string, body?: unknown): Promise<unknown>
getEffectiveDueDates(
course_id: string,
body?: unknown,
): Promise<unknown>
getSingleCourse(
id: string,
body?: unknown,
): Promise<Course>
getSingleUser(
course_id: string,
id: string,
body?: unknown,
): Promise<User>
getUserProgress(
course_id: string,
user_id: string,
body?: unknown,
): Promise<CourseProgress>
listCourses(params?: ListCoursesParams, body?: unknown): Promise<Course[]>
listCoursesForUser(
user_id: string,
body?: unknown,
): Promise<Course[]>
listRecentlyLoggedInStudents(course_id: string, body?: unknown): Promise<User[]>
listStudents(course_id: string, body?: unknown): Promise<User[]>
listUsersInCourse(
course_id: string,
body?: unknown,
): Promise<User[]>
permissions(
course_id: string,
body?: unknown,
): Promise<Account>
previewProcessedHtml(
course_id: string,
body?: unknown,
): Promise<Scope>
removeQuizMigrationAlert(id: string, body?: unknown): Promise<Scope>
resetCourse(course_id: string, body?: unknown): Promise<Course>
returnTestStudentForCourse(course_id: string, body?: unknown): Promise<User>
searchForContentShareUsers(
course_id: string,
body?: unknown,
): Promise<User[]>
updateCourse(
id: string,
body?: unknown,
): Promise<Scope>
updateCourses(
account_id: string,
body?: unknown,
): Promise<Progress>
updateCourseSettings(
course_id: string,
body?: unknown,
): Promise<Scope>
uploadFile(course_id: string, body?: unknown): Promise<Scope>