@@ -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- - shared 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.11
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- cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NzI0ODAwMDAwOnBvc3QxMjM
2132621325 channel_id: 4xp9fdt77pncbef59f4k1qe83o
21326+ cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NzI0ODAwMDAwOnBvc3QxMjM
2132721327 per_page: 100
2132821328 time_range_query:
2132921329 summary: Query with time range starting from specific time
2133021330 value:
2133121331 channel_id: 4xp9fdt77pncbef59f4k1qe83o
2133221332 cursor: ""
21333- per_page: 100
2133421333 start_time: 1635638400000
21334+ per_page: 100
2133521335 descending_order:
2133621336 summary: Descending order from recent
2133721337 value:
2133821338 channel_id: 4xp9fdt77pncbef59f4k1qe83o
21339- cursor: ""
21340- sort_direction: desc
2134121339 per_page: 100
21340+ sort_direction: desc
21341+ cursor: ""
2134221342 responses:
2134321343 "200":
2134421344 description: Posts retrieved successfully
@@ -21367,14 +21367,14 @@ paths:
2136721367 summary: Response with more pages available
2136821368 value:
2136921369 posts:
21370- post_id_1:
21371- id: post_id_1
21372- message: First post
21373- create_at: 1635638400000
2137421370 post_id_2:
2137521371 id: post_id_2
2137621372 message: Second post
2137721373 create_at: 1635638500000
21374+ post_id_1:
21375+ id: post_id_1
21376+ message: First post
21377+ create_at: 1635638400000
2137821378 next_cursor:
2137921379 cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NjM4NTAwMDAwOnBvc3RfaWRfMg
2138021380 last_page:
0 commit comments