summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2025-05-16 20:33:05 -0400
committerOwen Jacobson <owen@grimoire.ca>2025-05-16 20:33:05 -0400
commit4e8cfb5f37b607382fb80e012133dd372aa4ec36 (patch)
tree47bd3baed1aa18d09b67dbdec846b66cab121c55 /docs
parent96d363fd9290d43d2e6a11e2e5269fb8ccf6d65d (diff)
parenta38a449ab78a4e8ab56705922f5c13f9365a92a4 (diff)
Merge remote-tracking branch 'codeberg/prop/unread-channels'
Diffstat (limited to 'docs')
-rw-r--r--docs/api/boot.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/api/boot.md b/docs/api/boot.md
index 46b972f..2b9cf00 100644
--- a/docs/api/boot.md
+++ b/docs/api/boot.md
@@ -51,6 +51,7 @@ This endpoint will respond with a status of
],
"channels": [
{
+ "at": "2025-04-14T23:58:11.421901Z",
"name": "nonsense and such",
"id": "C1234abcd"
}
@@ -94,10 +95,11 @@ Each element of the `users` array describes a distinct user, and will include th
Each element of the `channels` array describes a distinct channel, and will include the following fields:
-| Field | Type | Description |
-|:-------|:-------|:----------------------------------------------------------------------------------------------------------------------------------------------|
-| `name` | string | The name for the channel. |
-| `id` | string | A unique identifier for the channel. This can be used to associate the channel with other events, or to make API calls targeting the channel. |
+| Field | Type | Description |
+|:-------|:----------|:----------------------------------------------------------------------------------------------------------------------------------------------|
+| `at` | timestamp | The moment the channel was created. |
+| `name` | string | The name for the channel. |
+| `id` | string | A unique identifier for the channel. This can be used to associate the channel with other events, or to make API calls targeting the channel. |
Each element of the `messages` array describes a distinct message, and will include the following fields: