@@ -9088,6 +9088,43 @@ 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+ - 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.10
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'
90919128 /api/v4/channels/{channel_id}/common_teams:
90929129 get:
90939130 tags:
@@ -19366,43 +19403,6 @@ paths:
1936619403 $ref: '#/components/responses/Unauthorized'
1936719404 "403":
1936819405 $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:
@@ -21959,10 +21959,10 @@ paths:
2195921959 descending_order:
2196021960 summary: Descending order from recent
2196121961 value:
21962+ sort_direction: desc
2196221963 cursor: ""
21963- per_page: 100
2196421964 channel_id: 4xp9fdt77pncbef59f4k1qe83o
21965- sort_direction: desc
21965+ per_page: 100
2196621966 responses:
2196721967 "200":
2196821968 description: Posts retrieved successfully
@@ -21991,14 +21991,14 @@ paths:
2199121991 summary: Response with more pages available
2199221992 value:
2199321993 posts:
21994- post_id_1:
21995- message: First post
21996- create_at: 1635638400000
21997- id: post_id_1
2199821994 post_id_2:
21995+ id: post_id_2
2199921996 message: Second post
2200021997 create_at: 1635638500000
22001- id: post_id_2
21998+ post_id_1:
21999+ id: post_id_1
22000+ message: First post
22001+ create_at: 1635638400000
2200222002 next_cursor:
2200322003 cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NjM4NTAwMDAwOnBvc3RfaWRfMg
2200422004 last_page:
@@ -27402,8 +27402,8 @@ components:
2740227402 description: Additional attributes for the property field (options for select fields, visibility, etc.).
2740327403 additionalProperties: true
2740427404 example:
27405- visibility: when_set
2740627405 sortOrder: 1
27406+ visibility: when_set
2740727407 options:
2740827408 - color: '#ff0000'
2740927409 id: opt1
0 commit comments