upload_file_from_url
Download a file from the site CDN (HTTPS) into the website library. Other hosts are rejected. Large files should use create_upload_url, then PUT the bytes, then complete_upload.
upload_file_from_url · Group: files
Download a file from the site CDN (HTTPS) into the website library. Other hosts are rejected. Large files should use create_upload_url, then PUT the bytes, then complete_upload.
Inputs
| Field | Required | Notes |
|---|---|---|
websiteId | required | |
url | required | |
fileName | required | |
directoryId | optional | |
contentType | required | MIME type |
Maps to
POST /api/v1/{locale}/{websiteId}/files/from-url→ API