Data Types

PublicPermissionsGrantsFiles

Permissions applied to anonymous users who attempt to download files from a folder.

The downloadFile field declares which transformations, if any, the folder's files can be downloaded though.

Each folder can declare these permissions via its FolderSettings object.

Structure

{
"downloadFile": String[]
}

Example

{
"downloadFile": [
"thumbnail"
]
}

Properties

downloadFile

An array of transformation URL slug patterns.

This array specifies which transformation slugs can be used when downloading files from this location.

Use "*" to allow all file downloads.

Use "raw" to allow raw/original file downloads.

Use a * suffix to allow transformation prefixes. For example: "thumbnail-*" will allow thumbnail-sm and thumbnail-lg.

Use any other value to allow specific transformations. For example: "thumbnail" will allow thumbnail downloads only.

Use an empty array to indicate no file downloads are allowed.

Type: String[]

Min Items: 0

Max Items: 10

Example: ["thumbnail"]

Required: Yes

Used by

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: