Data Types

DownloadFileParams

Parameter object passed to the DownloadFile method in the Bytescale SDKs.

{
"accountId": String,
"cache": Boolean,
"cache_ttl": Number,
"filePath": String,
"version": String
}
{
"accountId": "YOUR_ACCOUNT_ID",
"cache": true,
"cache_ttl": 31536000,
"filePath": "/uploads/image.jpg",
"version": "1"
}

Your account ID.

This is visible on the settings page:

https://www.bytescale.com/dashboard/settings

Example: "A623uY2"

Type: String

Length: 7

Required: No

Example: true

Type: Boolean

Required: No

Example: 31536000

Type: Number

Required: No

Absolute path to a file. Begins with a /.

Example: "/uploads/image.jpg"

Type: String

Min Length: 1

Max Length: 512

Required: No

Example: "1"

Type: String

Required: No

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: