api

  1. 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.
  2. 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%...
  3. 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...
  4. 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...
  5. 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...
  6. 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...
  7. Proxmox API vncproxy

    Hallo, ich versuche gerade eine VNC-Verbindung über die API herzustellen. Wie genau muss ich da vorgehen wenn ich die Daten von der API-Schnittstelle bekomme? Auf den angegebenen Port und die IP der Node verbinden ist klar, aber wie authentifiziere ich mich? Welche Authentifizierungsmethoden...
  8. API ends everytime with ssl3_get_server_certificate

    The api (PHP) open the connection to the host and I see they get back time infos and something. The the api send a create statement and then I get every back the certificate error. I see in the host, that the remote host could not verify the certificate: HTTP/1.1 200 OK Cache-Control: max-age=0...
  9. How to ensure that virtual machine was created?

    In my code, right after I send POST request to create virtual machine, I am trying to get its configuration (or status): "pvesh get /nodes/pve/qemu/101/config" This command results in InternalServerError: If I do a 2 second sleep before making a request for this config, then I don't get this...
  10. How to get virtual machine description via API?

    There is a way to set description for virtual machine when making POST request. How to retrieve that info for a particular virtual machine if we know its vmid?
  11. How to generate virtual machine id safely?

    Web UI shows me the recommended virtual machine id: How can I get this recommended ID via Proxmox API in order to avoid collisions while creating virtual machines? The best scenario of course is when I can send POST request without specifying vm id myself and let proxmox assign it for me...
  12. Set virtual machine meta info

    I need to set meta info for my virtual machine so that I could identify it in the future. When I do POST request to create a virtual machine I can use the field description in order to set my meta info: request.AddParameter("description", "Secure Virtual Machine version 4.0.31.342...
  13. How to get storage size through Proxmox API?

    I want to get the following info as in screenshot: For now, I only know about the command 'pvesh get /storage' which gives me the following info: [ { "content" : "images,rootdir", "digest" : "b6b926339dcd532a2a6e2d8a145ba4cc6c95363d", "storage" : "local-lvm"...
  14. Saltstack LXC Deployment not working

    Hi, we want to use salt cloud provider to deploy lxc & qemu. I am able to connect to the proxmox host, am able to list images and nodes, but when I try to deploy a container, I get following error: [DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc [DEBUG ]...
  15. GET vncwebsocket doesnt seem to work

    no matter how or what i pass i always get NULL back or the error property is missing and is not optional while i did pass it. im using javascript to generate a curl command curl -X GET -k -b pveAuthcookie= (ticket gotten from access.ticket)...
  16. Passing a ticket to noVNC

    im using novnc to grant people access to the console of their VM through a custom UI instead of the default proxmox UI, however the default UI saves a ticket in the browser which it uses for the consoles. how to i pass a new ticket to the noVNC in my browser or how to i save one in my browser?
  17. creating new disk image via api?

    curl -X POST -k -b...
  18. Change vm boot order via api?

    how do i set the boot order of a VM via the api?, i cant seem to find it in the config or any other documentation.
  19. Remote novnc html 5, what do i need and how does it work?

    hello, i am trying to create a remote interface for my proxmox server and i want to give people access to the console of their VM's how do i do this? is there a way for me to use the console that is in the proxmox UI and have it show on my website? or in a pop-up? and how would i go about this?
  20. Hide the 200 OK from pvesh

    Hi, Is there a simple way to prevent pvesh from outputting 200 OK to the tty ? Redirecting 1 and 2 doesn't seem to do anything so I assume it writes directly to the tty, which is very annoying in a script. Currently the script just shows a bunch of 200 OK in between my actual output lines, it's...

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!