@@ -9263,6 +9263,43 @@ paths:
92639263 $ref: '#/components/responses/Forbidden'
92649264 "404":
92659265 $ref: '#/components/responses/NotFound'
9266+ /api/v4/sharedchannels/{channel_id}/remotes:
9267+ get:
9268+ tags:
9269+ - shared channels
9270+ summary: Get remote clusters for a shared channel
9271+ description: |
9272+ Gets the remote clusters information for a shared channel.
9273+
9274+ __Minimum server version__: 10.11
9275+
9276+ ##### Permissions
9277+ Must be authenticated and have the `read_channel` permission for the channel.
9278+ operationId: GetSharedChannelRemotes
9279+ parameters:
9280+ - name: channel_id
9281+ in: path
9282+ description: Channel GUID
9283+ required: true
9284+ schema:
9285+ type: string
9286+ responses:
9287+ "200":
9288+ description: Remote clusters retrieval successful
9289+ content:
9290+ application/json:
9291+ schema:
9292+ type: array
9293+ items:
9294+ $ref: '#/components/schemas/RemoteClusterInfo'
9295+ "400":
9296+ $ref: '#/components/responses/BadRequest'
9297+ "401":
9298+ $ref: '#/components/responses/Unauthorized'
9299+ "403":
9300+ $ref: '#/components/responses/Forbidden'
9301+ "404":
9302+ $ref: '#/components/responses/NotFound'
92669303 /api/v4/channels/{channel_id}/common_teams:
92679304 get:
92689305 tags:
@@ -19541,43 +19578,6 @@ paths:
1954119578 $ref: '#/components/responses/Unauthorized'
1954219579 "403":
1954319580 $ref: '#/components/responses/Forbidden'
19544- /api/v4/sharedchannels/{channel_id}/remotes:
19545- get:
19546- tags:
19547- - shared channels
19548- summary: Get remote clusters for a shared channel
19549- description: |
19550- Gets the remote clusters information for a shared channel.
19551-
19552- __Minimum server version__: 10.11
19553-
19554- ##### Permissions
19555- Must be authenticated and have the `read_channel` permission for the channel.
19556- operationId: GetSharedChannelRemotes
19557- parameters:
19558- - name: channel_id
19559- in: path
19560- description: Channel GUID
19561- required: true
19562- schema:
19563- type: string
19564- responses:
19565- "200":
19566- description: Remote clusters retrieval successful
19567- content:
19568- application/json:
19569- schema:
19570- type: array
19571- items:
19572- $ref: '#/components/schemas/RemoteClusterInfo'
19573- "400":
19574- $ref: '#/components/responses/BadRequest'
19575- "401":
19576- $ref: '#/components/responses/Unauthorized'
19577- "403":
19578- $ref: '#/components/responses/Forbidden'
19579- "404":
19580- $ref: '#/components/responses/NotFound'
1958119581 /api/v4/sharedchannels/users/{user_id}/can_dm/{other_user_id}:
1958219582 get:
1958319583 tags:
@@ -22116,28 +22116,28 @@ paths:
2211622116 summary: First page, ascending order
2211722117 value:
2211822118 channel_id: 4xp9fdt77pncbef59f4k1qe83o
22119- per_page: 100
2212022119 cursor: ""
22120+ per_page: 100
2212122121 subsequent_page:
2212222122 summary: Subsequent page using cursor
2212322123 value:
2212422124 channel_id: 4xp9fdt77pncbef59f4k1qe83o
22125- cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NzI0ODAwMDAwOnBvc3QxMjM
2212622125 per_page: 100
22126+ cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NzI0ODAwMDAwOnBvc3QxMjM
2212722127 time_range_query:
2212822128 summary: Query with time range starting from specific time
2212922129 value:
2213022130 channel_id: 4xp9fdt77pncbef59f4k1qe83o
22131+ cursor: ""
2213122132 start_time: 1635638400000
2213222133 per_page: 100
22133- cursor: ""
2213422134 descending_order:
2213522135 summary: Descending order from recent
2213622136 value:
22137- cursor: ""
22138- sort_direction: desc
2213922137 channel_id: 4xp9fdt77pncbef59f4k1qe83o
22138+ cursor: ""
2214022139 per_page: 100
22140+ sort_direction: desc
2214122141 responses:
2214222142 "200":
2214322143 description: Posts retrieved successfully
@@ -22181,9 +22181,9 @@ paths:
2218122181 value:
2218222182 posts:
2218322183 post_id_99:
22184- id: post_id_99
2218522184 message: Last post
2218622185 create_at: 1635724800000
22186+ id: post_id_99
2218722187 "400":
2218822188 $ref: '#/components/responses/BadRequest'
2218922189 "401":
0 commit comments