Merge pull request #23712 from nextcloud/enh/noid/add-size-to-file-obj-definition

Add optional size field for the file obj
This commit is contained in:
Roeland Jago Douma 2020-10-27 19:51:31 +01:00 committed by GitHub
commit 7949854837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -254,6 +254,12 @@ class Definitions {
'description' => 'The file name which should be used in the visual representation', 'description' => 'The file name which should be used in the visual representation',
'example' => 'file.txt', 'example' => 'file.txt',
], ],
'size' => [
'since' => '21.0.0',
'required' => false,
'description' => 'The file size in bytes',
'example' => '3145728',
],
'path' => [ 'path' => [
'since' => '11.0.0', 'since' => '11.0.0',
'required' => true, 'required' => true,