Skip to main content
Module

x/gesso/types/params.ts>ListFilesParams

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

Properties

optional
content_types: string[]

Filter results by content-type. You can specify type/subtype pairs (e.g., 'image/jpeg'), or simply types (e.g., 'image', which will match 'image/gif', 'image/jpeg', etc.).

optional
exclude_content_types: string[]

Exclude given content-types from your results. You can specify type/subtype pairs (e.g., 'image/jpeg'), or simply types (e.g., 'image', which will match 'image/gif', 'image/jpeg', etc.).

optional
searchterm: string

The partial name of the files to match and return.

optional
include: string[]

Allowed values: user

optional
only: unknown[][]

Array of information to restrict to. Overrides include[] “names” only returns file name information

optional
sort: string

Allowed values: name, size, created_at, updated_at, content_type, user

optional
order: string

Allowed values: asc, desc