@@ -8967,43 +8967,6 @@ paths:
89678967 $ref: '#/components/responses/Forbidden'
89688968 "404":
89698969 $ref: '#/components/responses/NotFound'
8970- /api/v4/sharedchannels/{channel_id}/remotes:
8971- get:
8972- tags:
8973- - channels
8974- summary: Get remote clusters for a shared channel
8975- description: |
8976- Gets the remote clusters information for a shared channel.
8977-
8978- __Minimum server version__: 10.10
8979-
8980- ##### Permissions
8981- Must be authenticated and have the `read_channel` permission for the channel.
8982- operationId: GetSharedChannelRemotes
8983- parameters:
8984- - name: channel_id
8985- in: path
8986- description: Channel GUID
8987- required: true
8988- schema:
8989- type: string
8990- responses:
8991- "200":
8992- description: Remote clusters retrieval successful
8993- content:
8994- application/json:
8995- schema:
8996- type: array
8997- items:
8998- $ref: '#/components/schemas/RemoteClusterInfo'
8999- "400":
9000- $ref: '#/components/responses/BadRequest'
9001- "401":
9002- $ref: '#/components/responses/Unauthorized'
9003- "403":
9004- $ref: '#/components/responses/Forbidden'
9005- "404":
9006- $ref: '#/components/responses/NotFound'
90078970 /api/v4/channels/{channel_id}/common_teams:
90088971 get:
90098972 tags:
@@ -19186,6 +19149,43 @@ paths:
1918619149 $ref: '#/components/responses/Unauthorized'
1918719150 "403":
1918819151 $ref: '#/components/responses/Forbidden'
19152+ /api/v4/sharedchannels/{channel_id}/remotes:
19153+ get:
19154+ tags:
19155+ - channels
19156+ summary: Get remote clusters for a shared channel
19157+ description: |
19158+ Gets the remote clusters information for a shared channel.
19159+
19160+ __Minimum server version__: 10.10
19161+
19162+ ##### Permissions
19163+ Must be authenticated and have the `read_channel` permission for the channel.
19164+ operationId: GetSharedChannelRemotes
19165+ parameters:
19166+ - name: channel_id
19167+ in: path
19168+ description: Channel GUID
19169+ required: true
19170+ schema:
19171+ type: string
19172+ responses:
19173+ "200":
19174+ description: Remote clusters retrieval successful
19175+ content:
19176+ application/json:
19177+ schema:
19178+ type: array
19179+ items:
19180+ $ref: '#/components/schemas/RemoteClusterInfo'
19181+ "400":
19182+ $ref: '#/components/responses/BadRequest'
19183+ "401":
19184+ $ref: '#/components/responses/Unauthorized'
19185+ "403":
19186+ $ref: '#/components/responses/Forbidden'
19187+ "404":
19188+ $ref: '#/components/responses/NotFound'
1918919189 /api/v4/sharedchannels/users/{user_id}/can_dm/{other_user_id}:
1919019190 get:
1919119191 tags:
@@ -21322,23 +21322,23 @@ paths:
2132221322 subsequent_page:
2132321323 summary: Subsequent page using cursor
2132421324 value:
21325- channel_id: 4xp9fdt77pncbef59f4k1qe83o
21326- per_page: 100
2132721325 cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NzI0ODAwMDAwOnBvc3QxMjM
21326+ per_page: 100
21327+ channel_id: 4xp9fdt77pncbef59f4k1qe83o
2132821328 time_range_query:
2132921329 summary: Query with time range starting from specific time
2133021330 value:
21331- start_time: 1635638400000
21332- channel_id: 4xp9fdt77pncbef59f4k1qe83o
2133321331 per_page: 100
21332+ channel_id: 4xp9fdt77pncbef59f4k1qe83o
2133421333 cursor: ""
21334+ start_time: 1635638400000
2133521335 descending_order:
2133621336 summary: Descending order from recent
2133721337 value:
2133821338 channel_id: 4xp9fdt77pncbef59f4k1qe83o
2133921339 cursor: ""
21340- sort_direction: desc
2134121340 per_page: 100
21341+ sort_direction: desc
2134221342 responses:
2134321343 "200":
2134421344 description: Posts retrieved successfully
@@ -21372,19 +21372,19 @@ paths:
2137221372 message: First post
2137321373 create_at: 1635638400000
2137421374 post_id_2:
21375+ id: post_id_2
2137521376 message: Second post
2137621377 create_at: 1635638500000
21377- id: post_id_2
2137821378 next_cursor:
2137921379 cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NjM4NTAwMDAwOnBvc3RfaWRfMg
2138021380 last_page:
2138121381 summary: Last page (no more results)
2138221382 value:
2138321383 posts:
2138421384 post_id_99:
21385+ id: post_id_99
2138521386 message: Last post
2138621387 create_at: 1635724800000
21387- id: post_id_99
2138821388 "400":
2138921389 $ref: '#/components/responses/BadRequest'
2139021390 "401":
0 commit comments