Data Types

FilePathDefinition

The path to upload the file to.

This type must be one of the following types:


An object containing a fileName and/or folderPath field.

The folderPath may be relative or absolute; paths are relative to the API key's default folder (configured per API key in the Bytescale Dashboard).

If a field is omitted, the API key's default values will be used for that field. These 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: