File Descriptor Object


Properties
idstringRead-onlymaxLength 400

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 link to the uploaded file is public or private. Private links require a token.


mediaTypestringRead-only
9 enum supported values:
UNKNOWNIMAGEVIDEOAUDIODOCUMENTVECTORARCHIVEMODEL3DOTHER

Media file type.


mediaobjectRead-only

Media file content.


operationStatusstringRead-only
3 enum supported values:
FAILEDREADYPENDING

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 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
2 enum supported values:
OKDELETED

State of the file.

Was this helpful?
Yes
No