Interface SshPublicKeysService.ListRequest

  • All Superinterfaces:
    Request<SshPublicKeysService.ListRequest,​SshPublicKeysService.ListResponse>
    Enclosing interface:
    SshPublicKeysService

    public static interface SshPublicKeysService.ListRequest
    extends Request<SshPublicKeysService.ListRequest,​SshPublicKeysService.ListResponse>
    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.