Data Types

UploadJwtGrantsReadFiles

Read-based permissions to grant to the user for a given file path.

All fields are optional.

Structure

{
"downloadFile": String[],
}

Example

{
"downloadFile": [
"thumbnail"
],
"getFileDetails": true
}

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: No

getFileDetails

Grants access to the GetFileDetails endpoint for files at this path.

Type: Boolean

Required: No

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: