Skip to the content
Documentation

ezbinaryfile

No ratings yet
Summary

Contains information about a file.

Persistent

Yes.

Attributes
Attribute Type Static* Description
contentobject_attribute_id string Yes. The ID number of the content object attribute that the file belongs to.
version string Yes. The version number of the object that the file belongs to.
filename string Yes. The internal name of the file (generated by the system).
original_filename string Yes. The original name of the file.
mime_type string Yes. The MIME type of the file (for example "audio/wav").
download_count string Yes. The number of times the file has been downloaded through the "download" view of the "content" module.
filesize integer No. The size of the file (number of bytes).
filepath string No. The path to the file (including the filename).
mime_type_category string No. The MIME type category (for example "audio").
mime_type_part string No. The MIME type part (for example "wav").

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.