[SOLVED] Spiceproxy via API

ermanishchawla

Well-Known Member
Mar 23, 2020
332
37
48
38
I have create an API Token and wanted to access the spice-config through an API

curl -f -s -S -k --header 'Authorization: PVEAPIToken=manish@pve!monitoring=b9b0c035-3fe2-46e9-9374-299854b44b12' "https://inc1pve53:8006/api2/spiceconfig/nodes/inc1pve53/qemu/111/spiceproxy"

when I do this

curl: (22) The requested URL returned error: 501 Method 'GET /nodes/inc1pve53/qemu/111/spiceproxy' not implemented




It is that spiceproxy is not implemented in API. I want to get the spiceproxy configuration through API so that i use that to pass the output in file and then file to remote-viewer <spiceproxyfile> for accessing the VM
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!