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:
committed by
Thomas Lamprecht
parent
553c9b21a7
commit
654a987a3e
@ -81,6 +81,12 @@ __PACKAGE__->register_method ({
|
|||||||
renderer => 'bytes',
|
renderer => 'bytes',
|
||||||
optional => 1,
|
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}" } ],
|
links => [ { rel => 'child', href => "{volid}" } ],
|
||||||
|
|||||||
Reference in New Issue
Block a user