Interface EventsService.ListResponse

  • All Superinterfaces:
    Response
    Enclosing interface:
    EventsService

    public static interface EventsService.ListResponse
    extends Response
    Get list of events. [source] ---- GET /ovirt-engine/api/events ---- To the above request we get following response: [source,xml] ---- User admin@internal-authz logged out. 31 1e892ea9 -1 30 oVirt normal User admin logged in. 30 1fbd81f4 -1 30 oVirt normal ---- The following events occur: * id="1" - The API logs in the admin user account. * id="2" - The API logs out of the admin user account. The order of the returned list of events is always garanteed. If the `sortby` clause is included in the `search` parameter, then the events will be ordered according to that clause. If the `sortby` clause isn't included, then the events will be sorted by the numeric value of the `id` attribute, starting with the highest value. This, combined with the `max` parameter, simplifies obtaining the most recent event: .... GET /ovirt-engine/api/events?max=1 ....