[pve-devel] [PATCH manager 2/2] api: termproxy: add description to return schema

Fabian Grünbichler f.gruenbichler at proxmox.com
Wed Nov 5 15:13:06 CET 2025


needed to call this endpoint from PDM.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 PVE/API2/Nodes.pm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/PVE/API2/Nodes.pm b/PVE/API2/Nodes.pm
index b29d10f98..9ab8c01e3 100644
--- a/PVE/API2/Nodes.pm
+++ b/PVE/API2/Nodes.pm
@@ -1328,10 +1328,13 @@ __PACKAGE__->register_method({
     returns => {
         additionalProperties => 0,
         properties => {
-            user => { type => 'string' },
-            ticket => { type => 'string' },
-            port => { type => 'integer' },
-            upid => { type => 'string' },
+            user => {
+                type => 'string',
+                description => 'user/token that generated the VNC ticket in `ticket`',
+            },
+            ticket => { type => 'string', description => 'VNC ticket used to verifiy websocket connection' },
+            port => { type => 'integer', description => 'port used to bind termproxy to' },
+            upid => { type => 'string', description => 'UPID for termproxy worker task' },
         },
     },
     code => sub {
-- 
2.47.3





More information about the pve-devel mailing list