summaryrefslogtreecommitdiff
path: root/docs/api.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/api.md b/docs/api.md
index 8b31941..c5ee34a 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -165,6 +165,16 @@ The event IDs `hi` sends in `application/event-stream` encoding are ephemeral, a
The returned event stream is a sequence of events:
```json
+id: 1233
+data: {
+data: "type": "created"
+data: "at": "2024-09-27T23:18:10.208147Z",
+data: "channel": {
+data: "id": "C9876cyyz",
+data: "name": "example channel 2"
+data: },
+data: }
+
id: 1234
data: {
data: "type": "message",