Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface SetOrRemoveRestrictionsOnBlueprintCourseObjectParams
import { type SetOrRemoveRestrictionsOnBlueprintCourseObjectParams } from "https://deno.land/x/gesso@v0.1.2/types/params.ts";

Properties

optional
contenttype: string

String, “assignment”|“attachment”|“discussion_topic”|“external_tool”|“lti- quiz”|“quiz”|“wiki_page” The type of the object.

optional
contentid: number

The ID of the object.

optional
restricted: boolean

Whether to apply restrictions.

optional
restrictions: BlueprintRestriction

(Optional) If the object is restricted, this specifies a set of restrictions. If not specified, the course-level restrictions will be used. See Course API update documentation