Provides a web service interface for the Event model. Note: Event instances are created by the system, so we do not have create/update/delete methods here.
The following query parameters apply to all actions in this resource to apply filtering to the event streams.
Additionally the aggregate* end-points accept an aggregation
parameter that groups sequential events according to one of two different
strategies:
Additionally, aggregation can be disabled by using aggregation=off
.
Standard paging parameters apply to all end-points.
List aggregated global events. Standard list parameters for paging apply.
name | type | description | default | constraints |
---|---|---|---|---|
aggregation | query | The manner in which to aggregate the results, accepting "user", "strict" or "off" (no aggregation). Default is "user". | user | "off" or "strict" or "user" |
media type | data type | description |
---|---|---|
application/json | (custom) | a list of events |
GET /classes/SystemEvent
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Fetch a resource by id.
name | type | description | constraints |
---|---|---|---|
id | path | The requested item id | regex: [^/]+ |
media type | data type | description |
---|---|---|
application/json | (custom) | A serialized item representation |
GET /classes/SystemEvent/{id}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Fetch a page of subjects for a given event.
name | type | description | constraints |
---|---|---|---|
id | path | the event id | regex: [^/]+ |
media type | data type | description |
---|---|---|
application/json | (custom) | a list of subject items |
GET /classes/SystemEvent/{id}/subjects
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...