Proxmox 3 API changed?

rus

Member
Jan 23, 2014
12
1
23
Hi

Tell me please, what updates in API Proxmox 3?

API with 2 version proxmox works fine, but proxmox 3 have some changes in API? :confused:

Thanks
 

ygolonac

New Member
Jan 21, 2014
11
0
1
If I enter the api with pvesh works

root@prox1:/var/log/pveproxy# pvesh
entering PVE shell - type 'help' for help
pve:/> cd /nodes/prox2
pve:/nodes/prox2> get status
200 OK
{
"cpu" : 0,
"cpuinfo" : {
"cpus" : 12,
"hvm" : 1,
"mhz" : "1995.362",
"model" : "Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz",
"sockets" : 1,
"user_hz" : 100
},
"idle" : 0,
"ksm" : {
"shared" : 0
},
"kversion" : "Linux 2.6.32-26-pve #1 SMP Mon Oct 14 08:22:20 CEST 2013",
"loadavg" : [
"0.02",
"0.01",
"0.00"
],
"memory" : {
"free" : 15504760832,
"total" : 16779096064,
"used" : 1274335232
},
"pveversion" : "pve-manager/3.1-24/060bd5a6",
"rootfs" : {
"avail" : 56873537536,
"free" : 38506496000,
"total" : 79267110912,
"used" : 18367041536
},
"swap" : {
"free" : 16106119168,
"total" : 16106119168,
"used" : 0
},
"uptime" : 169597,
"wait" : 0
}

But if i go to:
https://prox1.telcat.cat:8606/api2/json/nodes/prox2/status

i received a blank page and in pveproxy log a 595 error:
root@pam [24/Jan/2014:00:27:56 +0100] "GET /api2/json/nodes/prox2/status HTTP/1.1" 595 -
 

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!