Skip to content

Commit

Permalink
Fixing org_name error
Browse files Browse the repository at this point in the history
  • Loading branch information
atovpeko committed Sep 12, 2023
1 parent b3fa8ff commit 5bfe894
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions shared/chat-sdk/restful-api/_restful-overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ This group of methods enables you to create, retrieve, modify, and delete chat g

| Name | Method | Request | Description | Rate Limits |
| :------------------------------ | :----- | :--------------------------------------------- | :----------------------------- | :----- |
| Retrieving all chat groups in the app by page | GET | `/{org_name}/{app_name}/chatgroups?limit={N}&cursor={cursor} ` | Retrieves the information of all the groups in the app by page. | 100/second |
| Retrieving all chat groups in the app by page | GET | `/{org_name}/{app_name}/chatgroups?limit={N}&cursor={cursor}` | Retrieves the information of all the groups in the app by page. | 100/second |
| Retrieving all the chat groups the user joins | GET | `/{org_name}/{app_name}/users/{username}/joined_chatgroups` | Retrieves all the groups the user joins by specifying the user name. | 100/second |
| Retrieving chat group details | GET | `/{org_name}/{app_name}/chatgroups/{group_ids}` | Retrieves group details by specifying the group ID. | 100/second |
| Creating a chat group | POST | `/{org_name}/{app_name}/chatgroups` | Creates a chat group. | 100/second |
Expand Down Expand Up @@ -196,11 +196,11 @@ This group of methods enable you to set the presence of a user, subscribe to the

| Name | Method | Request | Description | Rate Limits |
| :------------- | :----- | :----------- | :------------------------ | :------------------------ |
| Setting the presence status of a user | POST | /{org_name}/{app_name}/users/{username}/presence/{resource}/{status} | Sets the presence status of a user by user ID. | 50/second |
| Subscribing to the presence status of multiple users | POST | /{org_name}/{app_name}/users/{username}/presence/{expiry} | Subscribes to the presence status of multiple users. | 50/second |
| Retrieving the presence status of multiple users | POST | /{org_name}/{app_name}/users/{username}/presence | Retrieves the presence status of multiple users. | 50/second |
| Unsubscribing from the presence status of multiple users | DELETE | /{org_name}/{app_name}/users/{username}/presence | Unsubscribes from the presence status of multiple users. | 50/second |
| Retrieving the subscriptions of a user | GET | /{org_name}/{app_name}/users/{username}/presence/sublist?pageNum=1&pageSize=100 | Retrieves the subscriptions of a user. | 50/second |
| Setting the presence status of a user | POST | `/{org_name}/{app_name}/users/{username}/presence/{resource}/{status}` | Sets the presence status of a user by user ID. | 50/second |
| Subscribing to the presence status of multiple users | POST | `/{org_name}/{app_name}/users/{username}/presence/{expiry}` | Subscribes to the presence status of multiple users. | 50/second |
| Retrieving the presence status of multiple users | POST | `/{org_name}/{app_name}/users/{username}/presence` | Retrieves the presence status of multiple users. | 50/second |
| Unsubscribing from the presence status of multiple users | DELETE | `/{org_name}/{app_name}/users/{username}/presence` | Unsubscribes from the presence status of multiple users. | 50/second |
| Retrieving the subscriptions of a user | GET | `/{org_name}/{app_name}/users/{username}/presence/sublist?pageNum=1&pageSize=100` | Retrieves the subscriptions of a user. | 50/second |

### Reaction

Expand All @@ -219,22 +219,22 @@ This group of methods enable you to create a thread, modify a thread, delete a t

| Name | Method | Request | Description | Rate Limits |
| :------------- | :----- | :---------------------------- | :--------------------- |
| Creating a thread | POST | /{org_name}/{app_name}/thread | Creates a thread. | 100/second |
| Modifying a thread | PUT | /{org_name}/{app_name}/thread/{thread_id} | Modifies a thread. | 100/second |
| Deleting a thread | DELETE | /{org_name}/{app_name}/thread/{thread_id} | Deletes a thread. | 100/second |
| Retrieving all the threads under the app | GET | /{org_name}/{app_name}/thread?limit={limit}&cursor={cursor}&sort={sort} | Retrieves all the threads under the app | 100/second |
| Retrieving all the threads a user joins under the app | GET | /{org_name}/{app_name}/threads/user/{username}?limit={limit}&cursor={cursor}&sort={sort} | Retrieves all the threads a user joins under the app | 100/second |
| Retrieving all the threads a user joins under a chat group | GET | /{org_name}/{app_name}/threads/chatgroups/{group_id}/user/{username}?limit={limit}&cursor={cursor}&sort={sort} | Retrieves all the threads a user joins by user ID and group ID. | 100/second |
| Creating a thread | POST | `/{org_name}/{app_name}/thread` | Creates a thread. | 100/second |
| Modifying a thread | PUT | `/{org_name}/{app_name}/thread/{thread_id}` | Modifies a thread. | 100/second |
| Deleting a thread | DELETE | `/{org_name}/{app_name}/thread/{thread_id}` | Deletes a thread. | 100/second |
| Retrieving all the threads under the app | GET | `/{org_name}/{app_name}/thread?limit={limit}&cursor={cursor}&sort={sort}` | Retrieves all the threads under the app | 100/second |
| Retrieving all the threads a user joins under the app | GET | `/{org_name}/{app_name}/threads/user/{username}?limit={limit}&cursor={cursor}&sort={sort}` | Retrieves all the threads a user joins under the app | 100/second |
| Retrieving all the threads a user joins under a chat group | GET | `/{org_name}/{app_name}/threads/chatgroups/{group_id}/user/{username}?limit={limit}&cursor={cursor}&sort={sort}` | Retrieves all the threads a user joins by user ID and group ID. | 100/second |

### Thread member management

This group of methods enable you to join a thread and remove members from the thread.

| Name | Method | Request | Description | Rate Limits |
| :----------------- | :----- | :------------- | :------------------- |:------------------- |
| Retrieving thread members | GET | /{org_name}/{app_name}/thread/{thread_id}/users?limit={N}&cursor={cursor} | Retrieves all the members in the specified thread. | 100/second |
| Adding multiple users to a thread | POST | /{org_name}/{app_name}/thread/{thread_id}/users | Adds multiple users to the specified thread. | 100/second |
| Removing multiple thread members | DELETE | /{org_name}/{app_name}/threads/{thread_id}/users |Removes multiple users from the specified thread. | 100/second |
| Retrieving thread members | GET | `/{org_name}/{app_name}/thread/{thread_id}/users?limit={N}&cursor={cursor}` | Retrieves all the members in the specified thread. | 100/second |
| Adding multiple users to a thread | POST | `/{org_name}/{app_name}/thread/{thread_id}/users` | Adds multiple users to the specified thread. | 100/second |
| Removing multiple thread members | DELETE | `/{org_name}/{app_name}/threads/{thread_id}/users` |Removes multiple users from the specified thread. | 100/second |

## Request structure

Expand Down

0 comments on commit 5bfe894

Please sign in to comment.