HOC SiteDokümantasyon

create_upload_url

Return a 15 minute PUT URL for a file up to 5 GB. uploadId is an HMAC of the website, key, size, content type, directory, and expiry. Send the returned headers with the PUT. Then call complete_upload. HEIC and HEIF are rejected here because they are converted to JPEG before storage, which a direct PUT cannot do; send those to upload_file instead.

create_upload_url · Grup: files

Return a 15 minute PUT URL for a file up to 5 GB. uploadId is an HMAC of the website, key, size, content type, directory, and expiry. Send the returned headers with the PUT. Then call complete_upload. HEIC and HEIF are rejected here because they are converted to JPEG before storage, which a direct PUT cannot do; send those to upload_file instead.

Girdiler

FieldRequiredNotes
websiteIdrequired
fileNamerequired
contentTyperequired
sizerequired
directoryIdoptional

Eşlendiği uçlar

  • POST /api/v1/{locale}/{websiteId}/files/upload-url → API

İlgili