json

  1. S

    Proxmox API Postman Post Request Error 506

    Hello guys, I am trying to create a VM with the Proxmox API with Postman. I added the Ticket in the Cookies and the CSRFPreventionToken in the Headers, which works. But I dont know how to add the parameters which are required and the optional parameters...
  2. K

    Proxmox VE API: 596 Broken Pipe

    Hello guys, first it might be good to know what I'm trying to archieve with my program: Currently I'm building a Backend for a Hosting Company, wich has to create and Manage multiple Proxmox KVM Servers. For changing hostname etc. etc. we're using the guest-agent wich is also documented in the...
  3. S

    Created a BASH script to convert json to csv

    I have created a bash script that will strip the special characters from the .json file and organize via comma delimited CSV file. Original JSON file provided by the pvesh get <resource> --output-format json You will have duplicate headers but it's still useful for SQL import commands. Read...
  4. S

    Need to export "inventory" information for web ordering

    I am the process of automating a website where someone can "purchase" a VM container and it's built automatically for them (via scripting) on the backed. To do this I need to make sure I don't over allocate my resources. I am new to the REST API so I apologize if this is an option already...
  5. elurex

    PVE 5.3.6 - pve-api feature request

    My PVE Version proxmox-ve: 5.3-1 (running kernel: 4.15.18-9-pve) pve-manager: 5.3-6 (running version: 5.3-6/37b3c8df) pve-kernel-4.15: 5.2-12 pve-kernel-4.15.18-9-pve: 4.15.18-30 pve-kernel-4.15.18-8-pve: 4.15.18-28 pve-kernel-4.15.18-7-pve: 4.15.18-27 ceph: 12.2.10-pve1 corosync: 2.4.4-pve1...
  6. M

    [SOLVED] No longer getting JSON response after update for pvesh get /cluster/resources --type vm

    We updated some of our servers last night to 5.2-9 and since then the "pvesh get /cluster/resources --type vm" command that used to return JSON now returns a text table with information. Since I use this in some code, is there any way to display/get it in JSON format as opposed to this table...
  7. A

    [SOLVED] pvesh output changes

    Within the last month or so pvesh has changed from outputting json to "pretty" output by default. I'm trying to obtain json output again but cant figure out how; pvesh refers to format options: # pvesh USAGE: pvesh set <api_path> [OPTIONS] [FORMAT_OPTIONS] Call API PUT on <api_path>...
  8. S

    [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...
  9. M

    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 ]...
  10. Denny Fuchs

    API debug: Vagrant-proxmox and LXC = 400 Bad Request

    hi, we want to use Vagrant to create VMs on our Proxmox 4.1 cluster (with ZFS). So we use the vagrant-proxmox plugin, which works with KVM. If I try to get the same working with LXC, than I get a "400 Bad Request". I have no idea, how to debug on the Proxmox side. Is there a debug option, to...

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!