Data Types

FilePathDefinition

The path to upload the file to.

Can be one of the following types:


An object containing a fileName and/or folderPath.

Both fields are optional: omitted fields will use the API key's default values, which are configured per API key via the Bytescale Dashboard.

Supports path variables.

Type: DynamicFilePath


Absolute or relative path to a location in your Bytescale account's storage.

Relative paths are relative to the API key's default folder (configured per API key in the Bytescale Dashboard).

Does not support path traversals (e.g. ..).

Does not support path variables.

"/uploads/image.jpg"

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: