Skip to content

Commit 74ca5d6

Browse files
committed
Fix xchat docs: path params, scopes, Flask compat, new chat endpoints
- Fix 5 x-api/chat endpoint paths: {conversation_id} -> {id} to match OpenAPI spec v2.160 (send-message, get-conversation, mark-read, typing-indicator, download-media) - Add 4 previously untracked x-api/chat endpoint pages (add-members, create-group, initialize-group, initialize-keys) - Add x-api/users/get-public-keys-for-multiple-users.mdx - Fix @app.before_first_request (removed Flask 2.3+) in getting-started.mdx - Add media.write to required scopes list in troubleshooting.mdx - Fix TypeScript XDK import: 'xdk' -> '@xdevplatform/xdk' in real-time-events.mdx
1 parent 8d5515b commit 74ca5d6

13 files changed

+27
-12
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
openapi: post /2/chat/conversations/{id}/members
3+
---
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
openapi: post /2/chat/conversations/group
3+
---

x-api/chat/download-chat-media.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
openapi: get /2/chat/media/{conversation_id}/{media_hash_key}
2+
openapi: get /2/chat/media/{id}/{media_hash_key}
33
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
openapi: get /2/chat/conversations/{conversation_id}
2+
openapi: get /2/chat/conversations/{id}
33
---
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
openapi: post /2/chat/conversations/group/initialize
3+
---
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
openapi: post /2/chat/conversations/{id}/keys
3+
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
openapi: post /2/chat/conversations/{conversation_id}/read
2+
openapi: post /2/chat/conversations/{id}/read
33
---

x-api/chat/send-chat-message.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
openapi: post /2/chat/conversations/{conversation_id}/messages
2+
openapi: post /2/chat/conversations/{id}/messages
33
---
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
2-
openapi: post /2/chat/conversations/{conversation_id}/typing
2+
openapi: post /2/chat/conversations/{id}/typing
33
---
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
openapi: get /2/users/public_keys
3+
---

0 commit comments

Comments
 (0)