[pve-devel] [PATCH manager] api: add 'hardware' endpoint to index

Dominik Csapak d.csapak at proxmox.com
Fri Mar 10 14:08:12 CET 2023


it was missing there. Without this, it will not show up during
cli autocompletion and in the html debug view (/api2/html/).

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/API2/Nodes.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index 47c2d7414..f1b3bca41 100644
--- a/PVE/API2/Nodes.pm
+++ b/PVE/API2/Nodes.pm
@@ -268,6 +268,7 @@ __PACKAGE__->register_method ({
 	    { name => 'disks' },
 	    { name => 'dns' },
 	    { name => 'firewall' },
+	    { name => 'hardware' },
 	    { name => 'hosts' },
 	    { name => 'journal' },
 	    { name => 'lxc' },
-- 
2.30.2






More information about the pve-devel mailing list