projects
/
pve-storage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
553c9b2
)
api: storage/content: add ctime to return schema
author
Dietmar Maurer
<dietmar@proxmox.com>
Wed, 4 Mar 2020 10:46:19 +0000
(11:46 +0100)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Fri, 6 Mar 2020 18:26:17 +0000
(19:26 +0100)
to allow implementation from plugins in future patches
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
PVE/API2/Storage/Content.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/API2/Storage/Content.pm
b/PVE/API2/Storage/Content.pm
index ce89ec5dccdc595a4618f816079ff3b210483249..80c950146cf268922863852b3b199d08c12bcf2b 100644
(file)
--- 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}" } ],