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:
Vincent Petry 2020-10-27 11:48:41 +01:00
parent d38a7c6710
commit f7fd8d520d
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C
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',
'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,