GET /v1/events - one page of the journal after a cursor.
API reference sections
Schema
EventPage
Type object
Shape
| Field | Type | Description |
|---|---|---|
| eventsrequired | array of StoredEvent | |
| next_afterrequired | integer (uint64, >= 0) | Pass this back as |
{
"events": [
{
"seq": 0,
"recorded_at_ms": 0,
"envelope": {
"event_id": "00000000-0000-4000-8000-000000000000",
"name": "string",
"version": 0,
"occurred_at_ms": 0,
"actor": {
"kind": "user",
"id": "00000000-0000-4000-8000-000000000000",
"token": "string"
},
"origin": {
"device_id": "00000000-0000-4000-8000-000000000000",
"session_id": {}
},
"scope": {
"profile_id": "00000000-0000-4000-8000-000000000000",
"workspace_id": "00000000-0000-4000-8000-000000000000"
},
"subject": {
"kind": "workspace",
"id": "string",
"version": 0
},
"correlation_id": "00000000-0000-4000-8000-000000000000",
"causation_id": "00000000-0000-4000-8000-000000000000",
"attrs": {
"key": {
"t": "id",
"v": "00000000-0000-4000-8000-000000000000"
}
}
}
}
],
"next_after": 0
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Used by
Generated from contract version 1. Last updated .
