how to query users and there vms there own
-
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
xe
followed 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
xe
but with XOYou 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