Upload File
Uploads the specified file to a record. If an existing record isn't specified, creates a new record and uploads the file to that record.
Path parameters
vaultID
ID of the vault.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects a multipart form.
tableName
Name of the table to upload the file to.
columnName
Name of the column to upload the file to. The column must have a file
data type.
file
Path of the file to upload. Each request only supports one file.
skyflowID
Skyflow ID of the record to upload the file to. If skyflowID
isn’t specified, a new record will be created.
returnFileMetadata
If true
, returns metadata about the uploaded file.
Response
File uploaded successfully.
skyflowID
Skyflow ID of the record the file was uploaded to.
fileMetadata
Metadata about the uploaded file.