Data Types

ProcessFileAndSaveParams

Parameter object passed to the ProcessFileAndSave method in the Upload SDKs.

Structure

Example

{
"accountId": "YOUR_ACCOUNT_ID",
"filePath": "/uploads/image.jpg",
"processFileAndSaveRequest": {
"destination": {
"fileName": "example-{UNIQUE_DIGITS_4}{ORIGINAL_FILE_EXT}"
}
},
"transformation": "thumbnail"
}

Properties

accountId

Your account ID.

This is visible on the settings page:

https://upload.io/dashboard/settings

Example: "A623uY2"

Type: String

Length: 7

Required: No

filePath

Absolute path to a file. Begins with a /.

Example: "/uploads/image.jpg"

Type: String

Min Length: 1

Max Length: 512

Required: No

processFileAndSaveRequest

Request body for ProcessFileAndSave.

Type: ProcessFileAndSaveRequest

Required: No

transformation

Transformation URL slug.

These are created in the Upload Dashboard:

https://upload.io/dashboard/transformations

Example: "thumbnail"

Type: String

Min Length: 1

Max Length: 100

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: