Upload local file (multipart/form-data)
Uploads a local file using multipart/form-data. The file field name must be file_upload.
Required permissions: serverless:files:write. Key presets that include them: SERVERLESS, DEPLOY, FULL. See key permissions.
POST
Upload local file (multipart/form-data)
Authorizations
Key on the DEPLOY preset, or any key whose permissions include the ones this API lists. Prefix it with "Key ", e.g. Authorization: Key YOUR_API_KEY
Path Parameters
Target path (including filename)
Example:
"datasets/images/cat.jpg"
Query Parameters
If true and the uploaded file is a ZIP, it will be extracted
Example:
false
Body
multipart/form-data
Binary file content
Response
Upload completed
Indicates whether the operation was successful