HOC SiteDokümantasyon

Upload a file from a URL

Upload a file by fetching an allowlisted CDN URL (max 5 GB)

Yöntem: POST · Kimlik doğrulama: bearer · Grup: files

/api/v1/{locale}/{websiteId}/files/from-url

İstek

  • Content-Type: application/json
{ "url": "https://…", "filename"?: "string", "directoryId"?: "uuid", "mimeType"?: "string" }

Şema

{
  "method": "POST",
  "path": "/api/v1/{locale}/{websiteId}/files/from-url",
  "contentType": "application/json",
  "bodyHint": "{ \"url\": \"https://…\", \"filename\"?: \"string\", \"directoryId\"?: \"uuid\", \"mimeType\"?: \"string\" }"
}

MCP araçları

İlgili