Upload File

Uploads a file to a new or specified record.

Authentication

AuthorizationBearer

Access token, prefixed by Bearer .

Path parameters

vaultIDstringRequired

Request

This endpoint expects an object.
vaultIDstringRequired
ID of the vault.
tableNamestringRequired
Name of the table.
columnNamestringRequired
Name of the column that contains the file.
filestringRequired
Path of the file to upload. Each request only supports one file.
skyflowIDstringOptional
ID of the record to update.
returnFileMetadatabooleanOptionalDefaults to false

If true, returns metadata about the uploaded file.

Response

OK
skyflowIDstring or null
ID of the record to update.
fileMetadatamap from strings to objects or null
Metadata for the uploaded file with keys based on the name of the column containing the file.

Errors