import_file_from_url
Fetch a public HTTPS image (SSRF-guarded), resize it, and store a WebP in the website library. Rejects non-images and bodies over 20 MB. upload_file_from_url stays CDN-only.
import_file_from_url · Grup: files
Fetch a public HTTPS image (SSRF-guarded), resize it, and store a WebP in the website library. Rejects non-images and bodies over 20 MB. upload_file_from_url stays CDN-only.
Girdiler
| Field | Required | Notes |
|---|---|---|
websiteId | required | |
url | required | |
maxWidth | optional | Max width in pixels. Default 1600. |
quality | optional | WebP quality 1–100. Default 80. |
directoryId | optional |
Eşlendiği uçlar
POST /api/v1/{locale}/{websiteId}/files/import-url→ API