mirror of
https://github.com/appwrite/appwrite
synced 2026-05-17 14:08:39 +00:00
update usage response model for storage
This commit is contained in:
parent
c5993ba8b9
commit
651dc651f5
1 changed files with 2 additions and 9 deletions
|
|
@ -16,16 +16,9 @@ class UsageStorage extends Model
|
|||
'default' => '',
|
||||
'example' => '30d',
|
||||
])
|
||||
->addRule('filesStorage', [
|
||||
->addRule('storage', [
|
||||
'type' => Response::MODEL_METRIC_LIST,
|
||||
'description' => 'Aggregated stats for the occupied storage size by files (in bytes).',
|
||||
'default' => [],
|
||||
'example' => new \stdClass(),
|
||||
'array' => true
|
||||
])
|
||||
->addRule('tagsStorage', [
|
||||
'type' => Response::MODEL_METRIC_LIST,
|
||||
'description' => 'Aggregated stats for the occupied storage size by tags (in bytes).',
|
||||
'description' => 'Aggregated stats for the occupied storage size (in bytes).',
|
||||
'default' => [],
|
||||
'example' => new \stdClass(),
|
||||
'array' => true
|
||||
|
|
|
|||
Loading…
Reference in a new issue