EventsResource


List events


Retrieve the platform events that are available to display according to your event privileges, your user scope, and the privileges of your user role. For example, users with the CLOUD_ADMIN, ENTERPRISE_ADMIN, or USER roles will have access to different events.

Standard users can only retrieve events after their creation date, but cloud admin can retrieve all events

Additional queryParams:

Parameter Required Default Value Description
datacenter false Filter from events list by datacenter name.
rack false Filter from events list by rack name. (eg: rack=JC-1542992d-309).
physicalMachine false Filter from events list by physical machine name. (eg: physicalMachine=JC-70211e79-980).
storageSystem false Filter from events list by storage system name.
storagePool false Filter from events list by storage pool name (eg: storagePool=abiquo).
volume false Filter from events list by volume name (eg: volume=abiquovol).
network false Filter from events list by network name (eg: network=myprivatenetwork1).
subnet false Filter from events list by subnetwork name
enterprise false Filter from events list by enterprise name (eg: enterprise=myfirstenterprise).
user false Filter from events list by user name (eg: user=mycustomer).
virtualDatacenter false Filter from events list by virtual datacenter name (eg: virtualDatacenter=BCNvirtualdatacenter).
virtualApp false Filter from events list by virtual appliance name (eg: virtualApp=JC-29d17bd8-81e).
virtualMachine false Filter from events list by virtual machine name
severity false Severity level filter to filter from event list (eg: severity=INFO).
performedBy false Filter from events list by name of user who performed the action (eg: performedBy=customer1).
actionPerformed false Filter from event list by the actions performed (eg: actionperformed=VM_DELETE).
component false Show only events from the component specified (eg: component=VIRTUAL_MACHINE).
stacktrace false Filter from event list by words matching the stack trace (eg: stacktrace=moved).
datefrom false Retrieve events from the date specified as the number of seconds since 00:00 1/1/1970 UTC in string format (eg: datefrom=1359370517)
dateto false Retrieve events to the date specified as the number of seconds since 00:00 1/1/1970 UTC in string format (eg: dateto=1359370517)

GET https://example.com/api/events

Roles : [ROLE_AUTHENTICATED]

Parameter Type Default Value Description
startwith Integer 0 The first element to be retrieved of the filtered search
by String timestamp How to order the search. Available values are: \{DATACENTER, RACK, PHYSICALMACHINE, STORAGESYSTEM, STORAGEPOOL, VOLUME, NETWORK, SUBNET, ENTERPRISE, USER, VIRTUALDATACENTER, VIRTUALAPP, VIRTUALMACHINE, SEVERITY, PERFORMEDBY, ACTIONPERFORMED, COMPONENT, STACKTRACE, DATEFROM, DATETO\}
has String If present filter to apply in the search.
limit Integer 25 The number of entities to retrieve
asc Boolean false If the value of the 'by' parameter must be sorted in ascending order (true) or descending order (false)

Accept : events

Example

List events types


Returns all event types supported by Abiquo.

GET https://example.com/api/events

Roles : [ROLE_AUTHENTICATED]

Accept : eventtypes

Example

Get an event


Retrieve a single Abiquo event if it can be accessed by your Abiquo role

GET https://example.com/api/events/{event}

Roles : [ROLE_AUTHENTICATED]

Accept : event

Example