Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gesso/types/params.ts>SetUsageRightsParams

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

Properties

optional
file_ids: string[]

List of ids of files to set usage rights for.

optional
folder_ids: string[]

List of ids of folders to search for files to set usage rights for. Note that new files uploaded to these folders do not automatically inherit these rights.

optional
publish: boolean

Whether the file(s) or folder(s) should be published on save, provided that usage rights have been specified (set to true to publish on save).

optional
usagerightsusejustification: string

Allowed values: own_copyright, used_by_permission, fair_use, public_domain, creative_commons

optional
usagerightslegalcopyright: string

The legal copyright line for the files

optional
usagerightslicense: string

The license that applies to the files. See the List licenses endpoint for the supported license types.