Gets the Event identified by the specified Event ID from the specified Stream.
Octave.Event.get(streamId, eventId)
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
streamId | String | Yes | The unique ID of the Stream that owns the Event. |
eventId | String | Yes | The unique ID of the Event. |
Returns
A JSON representation of the matching Event.
Example
Request
var event = Octave.Event.get("s5b7c2258c4eaa25486be2ed1","e5b7c2f8683ee686657c50aac");
Response
// event now contains the matching event
{
elems:
{
x:1
},
creationDate: 1534865286261,
...
}