File Descriptor Object


Docs for File in Media

Properties
idstringRead-onlymaxLength 1000

File ID. Generated when a file is uploaded to the Media Manager.


displayNamestringmaxLength 200

File name as it appears in the Media Manager.


urlstringRead-onlyformat WEB_URL

Static URL of the file.


parentFolderIdstringmaxLength 100

ID of the file's parent folder.


hashstringRead-onlymaxLength 100

File hash.


sizeInBytesstringRead-onlyformat DECIMAL_VALUEdecimalValue {"maxScale":0}

Size of the uploaded file in bytes.


privatebooleanRead-only

Whether the file is public or private. Learn more about private files (SDK | REST).


mediaTypestringRead-only

Media file type.


mediaMediaRead-only

Media file content.


operationStatusstringRead-only

Status of the file that was uploaded.

  • FAILED: The file failed to upload, for example, during media post processing.
  • READY: The file uploaded, finished all processing, and is ready for use.
  • PENDING: The file is processing and the URLs are not yet available. This response is returned when importing a file.

sourceUrlstringRead-onlyformat WEB_URL

URL where the file was uploaded from.


thumbnailUrlstringRead-onlyformat WEB_URL

URL of the file's thumbnail.


labelsArray <string>maxItems 100maxLength 200

Labels assigned to media files that describe and categorize them. Provided by the Wix user, or generated by Google Vision API for images.


createdDatestringRead-onlyformat date-time

Date and time the file was created.


updatedDatestringRead-onlyformat date-time

Date and time the file was updated.


siteIdstringRead-onlymaxLength 100

The Wix site ID where the media file is stored.


statestringRead-only

State of the file.

Did this help?