[Proxmox VE 4.4-24] No API /status/start-stop

pRieStaKos

New Member
Nov 12, 2020
8
1
3
Athens
www.massivegrid.com
I'm trying to call start/stop with API. but I get "data": null in response.

/api2/json/nodes/{node}/qemu/{vmid}/status/start

I would like to make VM start upon creation.

Any suggestions ?

NOTE: I know this is an outdated version, but why API is not working ?
 
Hi,

May you try extjs instead of json?

Code:
/api2/extjs/nodes/{node}/qemu/{vmid}/status/start
 
Hi,

May you try extjs instead of json?

Code:
/api2/extjs/nodes/{node}/qemu/{vmid}/status/start

{"data": null,"status": 501,"success": 0,"message": "Method 'GET /nodes/{node}/qemu/114/status/start' not implemented"}

It seems that on 4.4-24 there is an issue with start. But I managed to make it work with my third-party module.

Thank you anyway.
 
{"data": null,"status": 501,"success": 0,"message": "Method 'GET /nodes/{node}/qemu/114/status/start' not implemented"}

It seems that on 4.4-24 there is an issue with start. But I managed to make it work with my third-party module.

Thank you anyway.
You must use POST not GET
 

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!