api: storage/content: fix return schema property descriptions
a small grammar fix, and we now return ctime of all files, as remaining storages are planned for the future omit this hint completely. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
@ -76,13 +76,13 @@ __PACKAGE__->register_method ({
|
|||||||
},
|
},
|
||||||
used => {
|
used => {
|
||||||
description => "Used space. Please note that most storage plugins " .
|
description => "Used space. Please note that most storage plugins " .
|
||||||
"does not report anything useful here.",
|
"do not report anything useful here.",
|
||||||
type => 'integer',
|
type => 'integer',
|
||||||
renderer => 'bytes',
|
renderer => 'bytes',
|
||||||
optional => 1,
|
optional => 1,
|
||||||
},
|
},
|
||||||
ctime => {
|
ctime => {
|
||||||
description => "Creation time (Unix epoch). Currently only set for backup volumes.",
|
description => "Creation time (seconds since the UNIX Epoch).",
|
||||||
type => 'integer',
|
type => 'integer',
|
||||||
minimum => 0,
|
minimum => 0,
|
||||||
optional => 1,
|
optional => 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user