how to query users and there vms there own
-
Im new to xen orchestra i need to know how I can query the REST API to get the user and the associated vms that there use and all metric about each vms, like the resources it uses[cpu, storage, ram] and time
-
Hi,
It's not possible yet with the REST API. However, it's a work in progress and should be done this quarter.
-
Thank you for replay,
is it possible to connect the vms to users with multiple rest api request
-
Right now, everything you see in XO 5 can be requested via the JSON-RPC API (or CLI). So it's doable. The permissions for REST API will come later.
-
Can you point me to where the documentation of JSON-RPC,
like where I can find all the methods i can call using this api "JSON-RPC" -
@taghashseven Have you checked the documentation? https://docs.xcp-ng.org/management/manage-at-scale/xo-api/
-
Sorry guys I will ask even the simple things,
I have install the xo-cli client,let's say I have need the acl list,
what is the command
-
@taghashseven You'd ssh into your host and use
xefollowed by your command.Here is the reference sheet. https://docs.xcp-ng.org/appendix/cli_reference/
-
He's asking about XO ACLs, so it won't be with
xebut with XO
You can get that with the JSON RPC API, see https://docs.xen-orchestra.com/architecture#xo-cli-cli for more details.
-
Thank you very much for your support.
So far, I've managed to reach this point:
{"id":-9007199254733511,"jsonrpc":"2.0","method":"acl.get"}I can now make these JSON-RPC calls.
What I need next is to know all the possible calls I can make. Is there a documentation or a place where I can find all this information in one place?"
-
Yes, you can have a list of all available calls by doing
xo-cli list-commands
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login