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:
Thomas Lamprecht
2020-03-06 19:24:32 +01:00
parent c05b1a8cb9
commit 1ee709380d

View File

@ -76,13 +76,13 @@ __PACKAGE__->register_method ({
},
used => {
description => "Used space. Please note that most storage plugins " .
"does not report anything useful here.",
"do not report anything useful here.",
type => 'integer',
renderer => 'bytes',
optional => 1,
},
ctime => {
description => "Creation time (Unix epoch). Currently only set for backup volumes.",
description => "Creation time (seconds since the UNIX Epoch).",
type => 'integer',
minimum => 0,
optional => 1,