SDK

Upload File

Upload a file to project storage.

The metadata should be a JSON string containing:

  • folder: Array of folder names for organizing files
  • custom_metadata: Object with custom key-value pairs
post/sdk/v1.0/files/upload

Query parameters

project_idstring uuid nullable

The unique identifier of the project

The ID of the project to upload the file to

Response

Successful Response

idstring uuid required

The unique identifier of the uploaded file

namestring required
sizeinteger required

File size in bytes

content_typestring required
created_atstring date-time required
updated_atstring date-time required
pathstring[] required

Folder path as array of tokens

metadataobject

Changes

No recorded changes to this endpoint across all 1 revision of this API.