[pve-devel] [PATCH pve-storage 3/6] PVE/API2/Storage/Content.pm - index: add ctime to return schema

Dietmar Maurer dietmar at proxmox.com
Wed Mar 4 11:46:19 CET 2020


Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
---
 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.20.1




More information about the pve-devel mailing list