mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-27 09:59:33 +00:00
api: PCI mappings: complete return schema
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
7becf34fdd
commit
d4830b941f
@ -61,12 +61,15 @@ __PACKAGE__->register_method ({
|
|||||||
description => "A description of the logical mapping.",
|
description => "A description of the logical mapping.",
|
||||||
},
|
},
|
||||||
error => {
|
error => {
|
||||||
|
type => "array",
|
||||||
|
optional => 1,
|
||||||
description => "A list of errors when 'check_node' is given.",
|
description => "A list of errors when 'check_node' is given.",
|
||||||
items => {
|
items => {
|
||||||
type => 'object',
|
type => 'object',
|
||||||
properties => {
|
properties => {
|
||||||
severity => {
|
severity => {
|
||||||
type => "string",
|
type => "string",
|
||||||
|
enum => ['warning', 'error'],
|
||||||
description => "The severity of the error",
|
description => "The severity of the error",
|
||||||
},
|
},
|
||||||
message => {
|
message => {
|
||||||
|
Loading…
Reference in New Issue
Block a user