Skip to main content
Module

x/gesso/src/ContentShares.ts>ContentShares

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

Constructors

new
ContentShares(config: Configuration)

Methods

addUsersToContentShare(
user_id: string,
id: string,
body?: unknown,
): Promise<ContentShare>
createContentShare(
user_id: string,
body?: unknown,
): Promise<ContentShare>
getContentShare(
user_id: string,
id: string,
body?: unknown,
): Promise<ContentShare>
getUnreadSharesCount(user_id: string, body?: unknown): Promise<Scope>
listContentShares(user_id: string, body?: unknown): Promise<ContentShare[]>
removeContentShare(
user_id: string,
id: string,
body?: unknown,
): Promise<Scope>
updateContentShare(
user_id: string,
id: string,
body?: unknown,
): Promise<ContentShare>