]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/API2/Storage/Content.pm
api: content listing: add comment and verification fields
[pve-storage.git] / PVE / API2 / Storage / Content.pm
index f2e3e573c104a311359fb8b354f8aa0e3e76e99a..8d2ff3269ca35c274bffa71e397c02618089c318 100644 (file)
@@ -87,6 +87,26 @@ __PACKAGE__->register_method ({
                    minimum => 0,
                    optional => 1,
                },
+               comment => {
+                   description => "An optional Comment.",
+                   type => 'string',
+                   optional => 1,
+               },
+               verification => {
+                   description => "Last backup verification result, only useful for PBS storages.",
+                   type => 'object',
+                   properties => {
+                       state => {
+                           description => "Last backup verification state.",
+                           type => 'string',
+                       },
+                       upid => {
+                           description => "Last backup verification UPID.",
+                           type => 'string',
+                       },
+                   },
+                   optional => 1,
+               },
            },
        },
        links => [ { rel => 'child', href => "{volid}" } ],