Frontend | Backend | Api

Files\Models\Api\File

File

Property Description Returns
path Get the path for this file string
fullPath Get the full path for this file. Alias for getPath. string
type Get the type of the file. Tries to determine the file type based on the active revision's virtual file type. string
previewImage Get a preview image for the file. Returns null if no preview image exists. Image
id int
created Get the date the record was created. DateTime
modified Get the last modification date for the record. DateTime
filename Filename
activeRevision FileRevision
tags Collection (Tag)
categories Collection (Category)
revisions Collection (FileRevision)
lastRevision Get the last revision for the entity. If a revision has been added, this will be the newly added revision. FileRevision