Service: Event

This API is not yet officially released nor maintained.

Service for actionable events

Table 1. Available methods
Method Request Response

Stream

EventStreamRequest

EventStreamResponseStream

Get

EventGetRequest

EventGetResponse

Stream

A method to get a stream of events.

Request

Request for stream method

Only a limited amount of events is persisted.
Table 2. Available fields in blickfeld.percept_processing.services.EventStreamRequest
Field Type Default Unit

id

optional string

-

-

Identifier from which the stream should start.

reverse

bool

-

-

Stream events in reverse. This fetches events from persistent database.

The events are emitted in batches. When no stream response is returned, no more events are available.

Response Stream

Response to stream method

Table 3. Available fields in blickfeld.percept_processing.services.EventStreamResponse
Field Type Default Unit

id

string

-

-

Unique identifier of event.

The ID has the format: $timestamp-$revision. $timestamp is a monotonic counter in seconds. $revision is usually 0 but incremented when there a multiple events per second.

event

data.Event

-

-

Event payload.

Get

Method to get one Event by its id

Request

Request for Get method

Table 4. Available fields in blickfeld.percept_processing.services.EventGetRequest
Field Type Default Unit

id

string

-

-

Identifier of the event; see EventStreamRequest and EventStreamResponse for more details

Response

Response to Get method

Table 5. Available fields in blickfeld.percept_processing.services.EventGetResponse
Field Type Default Unit

event

data.Event

-

-

Event payload