API how to use 'GET /api2/json/nodes/{node}/qemu --full' via HTTP/proxmoxer

Szymons

Member
Feb 11, 2021
69
8
13
Poland
Hello,

How can I use HTTP style of CLI :
Code:
pvesh get /nodes/{node}/qemu --full

GET /api2/json/nodes/{node}/qemu --full ?

here is working example from proxmoxer wrapper but without "full"

Code:
def vm_current_all(targetnode):
  x = proxmox.nodes(targetnode).qemu().get()
  return x
 

Attachments

  • get api.PNG
    get api.PNG
    93.2 KB · Views: 32
ok I just get it :D

Code:
def vm_current_all_full(targetnode):
  status = proxmox.nodes(targetnode).qemu().get(full='1')
  return status
 

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!