api: storage/content: add ctime to return schema

to allow implementation from plugins in future patches

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
This commit is contained in:
Dietmar Maurer
2020-03-04 11:46:19 +01:00
committed by Thomas Lamprecht
parent 553c9b21a7
commit 654a987a3e

View File

@ -81,6 +81,12 @@ __PACKAGE__->register_method ({
renderer => 'bytes',
optional => 1,
},
ctime => {
description => "Creation time (Unix epoch). Currently only set for backup volumes.",
type => 'integer',
minimum => 0,
optional => 1,
},
},
},
links => [ { rel => 'child', href => "{volid}" } ],