Upload a file to a path
Filesystem
Upload File by Path
Upload a file to a path inside the project filesystem. Parent folders are created automatically.
PUT
Upload a file to a path
Conflict handling: If a file already exists at the target path, the request fails with
409 Conflict. Delete the existing file first if you need to overwrite it.What this does
Uploads a file to the project filesystem at the specifiedpath query parameter. Missing intermediate folders are created automatically (like mkdir -p). The request body uses the same Document schema as table file uploads.
Example
201 Created):
Authorizations
Path Parameters
The name of the project
Query Parameters
Absolute path inside the project (leading slash optional, no .. segments)
Body
application/json
the mimetype of the document being uploaded
Available options:
application/pdf, application/json, image/jpg, image/jpeg, image/png, text/csv, text/plain, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel, video/mp4, audio/mp3, audio/wav, audio/ogg, multipart/related, message/rfc822 the name of the file being uploaded
Indicates whether the file is a binary upload or a signed link to the document.
Available options:
uri, binary, multipart A signed URL to the file.
