Add optional size field for the file obj
Add optional size field for the file rich object definition. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
d38a7c6710
commit
f7fd8d520d
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue