Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/gesso/types/params.ts>UpdateFileParams

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

Properties

optional
name: string

The new display name of the file, with a limit of 255 characters.

optional
parentfolderid: string

The id of the folder to move this file into. The new folder must be in the same context as the original parent folder. If the file is in a context without folders this does not apply.

optional
onduplicate: string

Allowed values: overwrite, rename

optional
lockat: Date

The datetime to lock the file at

optional
unlockat: Date

The datetime to unlock the file at

optional
locked: boolean

Flag the file as locked

optional
hidden: boolean

Flag the file as hidden

optional
visibilitylevel: string

Configure which roles can access this file