From 654a987a3eaa64106ed1ee4b7cb881f543f78fae Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 4 Mar 2020 11:46:19 +0100 Subject: [PATCH] api: storage/content: add ctime to return schema to allow implementation from plugins in future patches Signed-off-by: Dietmar Maurer --- PVE/API2/Storage/Content.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/PVE/API2/Storage/Content.pm b/PVE/API2/Storage/Content.pm index ce89ec5..80c9501 100644 --- a/PVE/API2/Storage/Content.pm +++ b/PVE/API2/Storage/Content.pm @@ -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}" } ], -- 2.39.2