Api actions like memory or disk
-
Hi all,
I’m wondering if it’s possible to change VM settings over the REST API — things like memory, disk size, or CPU count.
I’ve checked the Swagger documentation, but it doesn’t seem to include those endpoints.From what I understand, XO6 is built on top of the same API that Xen Orchestra uses, so in theory these kinds of settings should be adjustable through the API as well.
Maybe I’m missing something, but I’d really appreciate if someone could point me in the right direction!Thanks,
Robin -
Hi,
It will be available, yes. For now it's available in the previous API, the JSON RPC one, or also via XO CLI.
-
@olivierlambert Thank u, so for now these endpoinst are not in the restapi yet?
-
Yes, they are created either:
- on demand for users
- when we need in XO 6
Now, XO 6 is becoming the main driver for new endpoint as the UI is providing more and more features.