diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2020-10-27 19:51:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 19:51:31 +0100 |
commit | 79498548374d054bae20f6e026a0343c77f0cf16 (patch) | |
tree | ddc40129424521bf2595193ef24359433f50e01b /lib/public | |
parent | 54f2d9b5248ebf393e69840e8308d9593a6a9faf (diff) | |
parent | f7fd8d520d3eb259886423fe6541cf56b5d5fd37 (diff) | |
download | nextcloud-server-79498548374d054bae20f6e026a0343c77f0cf16.tar.gz nextcloud-server-79498548374d054bae20f6e026a0343c77f0cf16.zip |
Merge pull request #23712 from nextcloud/enh/noid/add-size-to-file-obj-definition
Add optional size field for the file obj
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/RichObjectStrings/Definitions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/RichObjectStrings/Definitions.php b/lib/public/RichObjectStrings/Definitions.php index bb976a8bd41..6f2bb649294 100644 --- a/lib/public/RichObjectStrings/Definitions.php +++ b/lib/public/RichObjectStrings/Definitions.php @@ -254,6 +254,12 @@ class Definitions { 'description' => 'The file name which should be used in the visual representation', 'example' => 'file.txt', ], + 'size' => [ + 'since' => '21.0.0', + 'required' => false, + 'description' => 'The file size in bytes', + 'example' => '3145728', + ], 'path' => [ 'since' => '11.0.0', 'required' => true, |