api: content listing: add comment and verification fields
for now only for PBS, since we do not have such info elsewhere Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
4558cb6eb6
commit
9778e5c216
@ -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}" } ],
|
||||
|
||||
Reference in New Issue
Block a user