v1

latestOpenAPI 3.1.02026-07-24239123562.1 KB
Files

Upload a File

This endpoint uploads a file to the Data Lake. The maximum upload request size is 200 MB.

post/v1/datalake/upload

Headers

ts-auth-tokenstring

JWT Token.

x-org-slugstring

Your organization's slug.

Request body

filestring binary
filenamestring

Name of the file

metastring json

(optional) key-value fields for the file. Example: {"foo":"bar"}

tagsstring[]

(optional) tags you want to attach to this file. Example ["tag1","tag2"]

sourceFileIdstring

(optional) "fileId" of the file you want to replace

sourceTypestring

(optional) "type" of the file you want to replace

pathstring

(optional) The target folder path in the Data Lake where the file should be uploaded. If not specified, the file is uploaded to the root folder.

Response

200