API2: How to get the node a VM is in without using /api2/json/cluster/resources

PedroPastore

New Member
Feb 28, 2023
23
0
1
I was wandering if there is a way in which i can get that information using only the vm id without having to access the /api2/json/cluster/resources endpoint. This endpoint returns the info about all VMs and nodes and i wanted a more efficient way to request the information of a single VM.