@@ -9088,43 +9088,6 @@ paths:
90889088 $ref: '#/components/responses/Forbidden'
90899089 "404":
90909090 $ref: '#/components/responses/NotFound'
9091- /api/v4/sharedchannels/{channel_id}/remotes:
9092- get:
9093- tags:
9094- - shared channels
9095- summary: Get remote clusters for a shared channel
9096- description: |
9097- Gets the remote clusters information for a shared channel.
9098-
9099- __Minimum server version__: 10.11
9100-
9101- ##### Permissions
9102- Must be authenticated and have the `read_channel` permission for the channel.
9103- operationId: GetSharedChannelRemotes
9104- parameters:
9105- - name: channel_id
9106- in: path
9107- description: Channel GUID
9108- required: true
9109- schema:
9110- type: string
9111- responses:
9112- "200":
9113- description: Remote clusters retrieval successful
9114- content:
9115- application/json:
9116- schema:
9117- type: array
9118- items:
9119- $ref: '#/components/schemas/RemoteClusterInfo'
9120- "400":
9121- $ref: '#/components/responses/BadRequest'
9122- "401":
9123- $ref: '#/components/responses/Unauthorized'
9124- "403":
9125- $ref: '#/components/responses/Forbidden'
9126- "404":
9127- $ref: '#/components/responses/NotFound'
91289091 /api/v4/channels/{channel_id}/common_teams:
91299092 get:
91309093 tags:
@@ -19403,6 +19366,43 @@ paths:
1940319366 $ref: '#/components/responses/Unauthorized'
1940419367 "403":
1940519368 $ref: '#/components/responses/Forbidden'
19369+ /api/v4/sharedchannels/{channel_id}/remotes:
19370+ get:
19371+ tags:
19372+ - shared channels
19373+ summary: Get remote clusters for a shared channel
19374+ description: |
19375+ Gets the remote clusters information for a shared channel.
19376+
19377+ __Minimum server version__: 10.11
19378+
19379+ ##### Permissions
19380+ Must be authenticated and have the `read_channel` permission for the channel.
19381+ operationId: GetSharedChannelRemotes
19382+ parameters:
19383+ - name: channel_id
19384+ in: path
19385+ description: Channel GUID
19386+ required: true
19387+ schema:
19388+ type: string
19389+ responses:
19390+ "200":
19391+ description: Remote clusters retrieval successful
19392+ content:
19393+ application/json:
19394+ schema:
19395+ type: array
19396+ items:
19397+ $ref: '#/components/schemas/RemoteClusterInfo'
19398+ "400":
19399+ $ref: '#/components/responses/BadRequest'
19400+ "401":
19401+ $ref: '#/components/responses/Unauthorized'
19402+ "403":
19403+ $ref: '#/components/responses/Forbidden'
19404+ "404":
19405+ $ref: '#/components/responses/NotFound'
1940619406 /api/v4/sharedchannels/users/{user_id}/can_dm/{other_user_id}:
1940719407 get:
1940819408 tags:
@@ -21952,17 +21952,17 @@ paths:
2195221952 time_range_query:
2195321953 summary: Query with time range starting from specific time
2195421954 value:
21955- cursor: ""
2195621955 channel_id: 4xp9fdt77pncbef59f4k1qe83o
21956+ cursor: ""
2195721957 start_time: 1635638400000
2195821958 per_page: 100
2195921959 descending_order:
2196021960 summary: Descending order from recent
2196121961 value:
21962- channel_id: 4xp9fdt77pncbef59f4k1qe83o
2196321962 cursor: ""
21964- sort_direction: desc
2196521963 per_page: 100
21964+ channel_id: 4xp9fdt77pncbef59f4k1qe83o
21965+ sort_direction: desc
2196621966 responses:
2196721967 "200":
2196821968 description: Posts retrieved successfully
@@ -21992,13 +21992,13 @@ paths:
2199221992 value:
2199321993 posts:
2199421994 post_id_1:
21995- id: post_id_1
2199621995 message: First post
2199721996 create_at: 1635638400000
21997+ id: post_id_1
2199821998 post_id_2:
21999+ message: Second post
2199922000 create_at: 1635638500000
2200022001 id: post_id_2
22001- message: Second post
2200222002 next_cursor:
2200322003 cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NjM4NTAwMDAwOnBvc3RfaWRfMg
2200422004 last_page:
0 commit comments