HP OneView REST API Reference

events
events.html[10/17/2013 10:35:13 AM]
view=viewDescription is specified, then the description details for all the
event items is returned.
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Response Description
EventResourceV2 An object in JSON format of the events schema.
Response Codes
REST API Response Codes
Examples
GET https://{appl}/rest/events/{id}
or
GET https://{appl}/rest/events/{id}?view=viewDescription
The above example retrieves a particular event specified
in {id}.
If users specify the view parameter, it gets
descriptions.
Otherwise, it will not get descriptions for event items.
EventResourceV2
description: An event resource describes a single, low-level problem or life cycle change that has occurred
on a resource. The event resource contains a few key fields such as description, timestamps,
and severity. In addition to support a wide variety of event sources, an attribute name/value pair
map is used to provide additional details of the event. For example:the attribute name
ipv4address and the attribute value 127.0.0.1 can constitute an attribute name/value pair.
type: object
Properties
category: description: The category used to help identify this resource. It will always be set to events.
readonly: true
type: string
severity: description: The severity of the event:Unknown - avoid using this value, except on the rare
occasions when severity is genuinely not known. OK - indicates
normal/informational behavior. Disabled - not a valid severity for an Event and will
be obsoleted. Warning - needs attention soon. Critical - needs immediate
attention.
enum: Unknown
OK
Disabled
Warning
Critical