mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
add actual size in response model
This commit is contained in:
@@ -65,6 +65,12 @@ class File extends Model
|
||||
'default' => 0,
|
||||
'example' => 17890,
|
||||
])
|
||||
->addRule('sizeActual', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'File actual size in bytes.',
|
||||
'default' => 0,
|
||||
'example' => 17890,
|
||||
])
|
||||
->addRule('chunksTotal', [
|
||||
'type' => self::TYPE_INTEGER,
|
||||
'description' => 'Total number of chunks available',
|
||||
|
||||
Reference in New Issue
Block a user