One journaled event: the envelope plus what only the journal knows.
API reference sections
Schema
StoredEvent
Type object
Shape
| Field | Type | Description |
|---|---|---|
| seqrequired | integer (uint64, >= 0) | The delivery cursor. Totally ordered per journal, never reused. |
| recorded_at_msrequired | integer (int64) | The journal's own clock at append - |
| enveloperequired | Envelope | One event on the local bus. |
{
"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"
}
}
}
}The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.
Generated from contract version 1. Last updated .
