api

  1. Use Api to monitor ZFS Replication

    Hello, can i monitor the replication status in a cluster using Proxmox API ? Thanks!
  2. [SOLVED] API Changelog

    I have written a python wrapper for pvesh that integrates with Salt-Stack (not Salt Cloud). Going forward, I need to establish a review process for new releases of Proxmox VE so that API changes can be identified before we apply updates. I've looked through the pve-docs distributed with Proxmox...
  3. Disk Utilization API in Proxmox 5.1

    Hi, My developer says that the disk utilization is broken and returns 0 for KVM anybody who can throw light so that we can get this working ? Regards Arpan
  4. API: Cannot add IPSet

    I'm trying to add a subnet to an existing IPSet of an existing VM via the API. According to the docs (https://pve.proxmox.com/pve-docs/api-viewer/index.html) the correct command would be: pvesh set /nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr} But this command doesn't work (node and...
  5. Connection problem noVNC (API)

    Hello, I'm trying to run noVNC using php. I use the call: /nodes/{node}/qemu/{vmid}/vncproxy I receive the ticket correctly. On the second call I pass the previous ticket along with the port: /nodes/{node}/qemu/{vmid}/ vncwebsocket In this call it does not return anything. I have tried to...
  6. Custom Variables Tab in VM, Template, Container, Host, Storage etc.

    Hello, Is there a possibility to define variable, that is accessible by proxmox API in each object type like VM, Template, Container, Host or Datastore? If no, simple tab with key and value added to all objects in proxmox gui will be awesome, because this will allow to build extensions for...
  7. [SOLVED] Proxmox PHP API - Create lxc container.

    Hello, I have a problem with creation of LXC container via PHP. API is connectig correctly with pve, because i can start / stop existing container, i am able to list nodes, and check what VIM is next. but while creating LXC i receive bool(false) value. My code look's like that: <?php require...
  8. Authentification to Proxmox VE with API

    Hello guys, I'm trying to use Proxmox API in order to manage my nodes cluster from another server. I read the Proxmox VE wiki but I'm getting an issue with authentification part of Proxmox API. I'm using proxmoxer and Python. I wrote this : #!/usr/bin/python3 from proxmoxer import...
  9. [SOLVED] Is API Access restricted via v5.1-40?

    Hello, Has the API login been changed with the latest update? I was login with version 5.1-38 but I upgraded to v5.1-40 and I lost access with the API. I restarted the server but It did not work.
  10. API v2.0 problem adding users

    I'm trying to add users to a Proxmox cluster using Proxmoxer and Python 2.7, but the API is giving me an error. I've Googled and played around, but can't figure it out. Help? Here's the HTTP transaction. POST /api2/json/access/users HTTP/1.1\r Host: 172.25.20.44:8006\r Connection...
  11. VM Create/Edit/Delete with API

    Hello How I can create/edit/delete VM with API way? I reviewed the API Documentation but I couldnt find it. Is this possible? If yes, what is the API call to do it? Thank you.
  12. Feature request- add user supplied config lines for ct.conf via api

    Apologies if this already exists and I'm not able to comprehend the docs. I'd like to have the option to add user supplied arguments to ct.conf files at deployment via api; eg, add process limits lxc.cgroup.pids.max, etc.
  13. API Questions

    Hello, I'm currently working on an API client in Go as well as a Terraform provider, and I have a few questions regarding the API: The API wiki mentions the use of JSON Schema, however I haven't been able to find any information on the schema files themselves. Are they publicly available...
  14. Release of ProxmoxVE Client Api ,Net/Php/Java

    Hello everyone, I created from documentation the Client Api in 3 languages. For now, supported languages are .Net, Php, Java. For details see: https://github.com/EnterpriseVE/eve2pve-api-dotnet https://github.com/EnterpriseVE/eve2pve-api-php https://github.com/EnterpriseVE/eve2pve-api-java...
  15. Summary Note

    I was looking on API if there is a way to put values on Note field. My idea is put the IP Address on Summary/Note from a dynamic way.
  16. API issue w/ 'proxmox' ansible module.

    Hello, big proxmox fan and ansible user here. I am trying to create new LXC containers in proxmox using ansible. I believe this is same issue as: https://github.com/ansible/ansible/issues/25113 I'd like to help fix it and maybe do a pull request for the ansible module. I can't say with 100%...
  17. Spice Connection/Proxmox API Help

    Hello all! I'm trying to connect one of my thin clients to a Proxmox VM via Spice. I started using Opaque, and while I'm close to establishing a connection, I have not been able to yet. I believe my issue is that I don't fully understand the Proxmox API yet, and as such my requests to the...
  18. Creating additional virtio disk of a VM

    Hi to everyone. I'm trying to create an additional virtio1 disk for a VM. FYI, the VM has already a virtio0 disk. Therefore, I try to create it via the API using the call: POST /api2/json/nodes/{node}/qemu/{vmid}/config But I'm receiving this: update VM 105: -virtio1...
  19. noVNC from API - Cookie

    Hi, I'm currently writing an Haskell library for the Proxmox API, and I want to use it for a few web apps soon. I'm looking at how to implement the noVNC console, but as I understand it you need to query the link with the PVEAuthCookie cookie set, from the end user. Is that right ? That's a...
  20. Powershell API not working?

    Hi, I'm quite new to powershell and proxmox im trying to use the restful API service on proxmox to manage nodes from powershell. at the moment im struggling to get started as when i try to get a ticket, is not taking it, im using part of the code in this post...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE 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 your own in 60 seconds.

Buy now!