Statistics
File service statistics are used to measure the sizes and modification time of child resources. They are available for space, folder, and file resources as stats.
The stats calculations are performed asynchronously with updates being made in the background. Each mutation operation on a resource will trigger a re-calculation of these statistics.
The following table illustrates the statistics properties present for each resource type.
| Attribute | Space | Folder | File |
|---|---|---|---|
| size The sum of sizes of all the active resources in bytes. Represents only the size of latest version. |
x | x | x |
| supportFilesSize The sum of size of all the active support files in bytes. Represents only the size of latest version. |
x | x | x |
| decompressedSize The size of decompressed file in bytes. This field is only applicable for fileset. |
x | ||
| deletedSize The sum of sizes of all the soft deleted resources in bytes. |
x | ||
| deletedSupportFilesSize The sum of sizes of all the soft deleted support files in bytes. |
x | ||
| supportFilesCount The count of support files directly under the main file. |
x | ||
| immediateFilesCount The count of files directly under the parent folder. |
x | ||
| immediateFoldersCount The count of folders directly under the parent folder. |
x | ||
| filesCount The count of all active files. |
x | ||
| foldersCount The count of all active folders. |
x | ||
| deletedFilesCount The count of all soft deleted files. |
x | ||
| deletedFoldersCount The count of all soft deleted folders. |
x | ||
| totalStorageUsed The total storage used by the resource and its contents, including versions, in bytes. |
x | ||
| contentsUpdatedAt The last updated time of a content in the resource. |
x | x | |
| supportFilesUpdatedAt The latest time the support files were updated. |
x |