needed to call this endpoint from PDM.

Signed-off-by: Fabian Grünbichler <[email protected]>
---
 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



_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to