Upload file from URL
Creates a new file at the target path by downloading it from the provided URL.
Required permissions: serverless:files:write. Key presets that include them: SERVERLESS, DEPLOY, FULL. See key permissions.
POST
Upload file from URL
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 file path (including filename)
Example:
"datasets/images/cat.jpg"
Body
application/json
Upload a file from a URL into the target path
Publicly accessible URL for the file
Response
Upload initiated
Indicates whether the operation was successful