- 
                Notifications
    You must be signed in to change notification settings 
- Fork 7
Methods
        Pavel Zinin edited this page Jul 2, 2019 
        ·
        16 revisions
      
    VMEmperor API is powered by GraphQL. See /voyager for API description. But you need to use REST API for login/logout.
These methods should be used for authentication. They set a cookie.
Performs authentication using external authentication source
| Name | Type | Required | 
|---|---|---|
| username | string | Yes | 
| password | string | Yes | 
{"status": "success", "login": "provided username"}return code 200
Return code 401, response:
{"status": "error", "message": "wrong credentials"}Performs authentication using XenServer capabilities. To be an administrator, one should use a XenServer account.
Arguments & response identical to /login