Events

HMC REST API Client must use this API to read a feed of events.

Resource

/rest/api/uom/Event

Every Event lists the following properties

Event Attribute Type Event Attribute Definition of the Event Attribute.
EventTypeEnum EventType Defines the type of Event.
String EventID Defines the abstract unique id for the event.
String EventData Defines the Primary data for the event.
String EventDetail Defines the detailed data for the event.

Event's Generic Purpose would be one among the following:

  1. INVALID_URI – A resource has been invalidated or replaced in the ElementHandle2Cache, and the client should reload it if they care.
  2. CACHE_CLEARED – essentially everything invalidated since the cache is cleared.
  3. MISSING_EVENTS – the client didn’t pull events fast enough.
  4. ADD_URI – a repository object, mapped to a resource was added.
  5. MODIFY_URI – a repository object, mapped to a resource was changed.
  6. DELETE_URI – a repository object, mapped to a resource was deleted.

Event semantics

  1. Events are Non-persistent.
  2. Events are timely (not meaningful to read long past when they occurred).
  3. Most events use a URI to specify which REST Resource they relate to.
  4. Reading events out of order is not meaningful.



Last updated: Fri, June 23, 2017