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 · Grup: files
Girdiler
websiteId
zorunlu
url
zorunlu
fileName
zorunlu
directoryId
isteğe bağlı
contentType
zorunlu — MIME type
Şema
{
"name": "upload_file_from_url",
"group": "files",
"inputFields": [
{
"name": "websiteId",
"required": true
},
{
"name": "url",
"required": true
},
{
"name": "fileName",
"required": true
},
{
"name": "directoryId",
"required": false
},
{
"name": "contentType",
"required": true,
"description": "MIME type"
}
]
}Eşlendiği uçlar
POST /api/v1/{locale}/{websiteId}/files/from-url→ API