Interface SshPublicKeysService.ListResponse

  • All Superinterfaces:
    Response
    Enclosing interface:
    SshPublicKeysService

    public static interface SshPublicKeysService.ListResponse
    extends Response
    Returns a list of SSH public keys of the user. For example, to retrieve the list of SSH keys of user with identifier `123`, send a request like this: [source] ---- GET /ovirt-engine/api/users/123/sshpublickeys ---- The result will be the following XML document: [source,xml] ---- ssh-rsa ... ---- Or the following JSON object [source,json] ---- { "ssh_public_key": [ { "content": "ssh-rsa ...", "user": { "href": "/ovirt-engine/api/users/123", "id": "123" }, "href": "/ovirt-engine/api/users/123/sshpublickeys/456", "id": "456" } ] } ---- The order of the returned list of keys is not guaranteed.