[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