Skip to content

Commit a7bacc4

Browse files
authored
Merge branch 'master' into master
2 parents af9ceed + a1beb95 commit a7bacc4

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

site/static/mattermost-openapi-v4.yaml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -8781,43 +8781,6 @@ paths:
87818781
$ref: '#/components/responses/Forbidden'
87828782
"404":
87838783
$ref: '#/components/responses/NotFound'
8784-
/api/v4/sharedchannels/{channel_id}/remotes:
8785-
get:
8786-
tags:
8787-
- shared channels
8788-
summary: Get remote clusters for a shared channel
8789-
description: |
8790-
Gets the remote clusters information for a shared channel.
8791-
8792-
__Minimum server version__: 10.11
8793-
8794-
##### Permissions
8795-
Must be authenticated and have the `read_channel` permission for the channel.
8796-
operationId: GetSharedChannelRemotes
8797-
parameters:
8798-
- name: channel_id
8799-
in: path
8800-
description: Channel GUID
8801-
required: true
8802-
schema:
8803-
type: string
8804-
responses:
8805-
"200":
8806-
description: Remote clusters retrieval successful
8807-
content:
8808-
application/json:
8809-
schema:
8810-
type: array
8811-
items:
8812-
$ref: '#/components/schemas/RemoteClusterInfo'
8813-
"400":
8814-
$ref: '#/components/responses/BadRequest'
8815-
"401":
8816-
$ref: '#/components/responses/Unauthorized'
8817-
"403":
8818-
$ref: '#/components/responses/Forbidden'
8819-
"404":
8820-
$ref: '#/components/responses/NotFound'
88218784
/api/v4/channels/{channel_id}/common_teams:
88228785
get:
88238786
tags:
@@ -18619,6 +18582,43 @@ paths:
1861918582
$ref: '#/components/responses/Unauthorized'
1862018583
"403":
1862118584
$ref: '#/components/responses/Forbidden'
18585+
/api/v4/sharedchannels/{channel_id}/remotes:
18586+
get:
18587+
tags:
18588+
- shared channels
18589+
summary: Get remote clusters for a shared channel
18590+
description: |
18591+
Gets the remote clusters information for a shared channel.
18592+
18593+
__Minimum server version__: 10.11
18594+
18595+
##### Permissions
18596+
Must be authenticated and have the `read_channel` permission for the channel.
18597+
operationId: GetSharedChannelRemotes
18598+
parameters:
18599+
- name: channel_id
18600+
in: path
18601+
description: Channel GUID
18602+
required: true
18603+
schema:
18604+
type: string
18605+
responses:
18606+
"200":
18607+
description: Remote clusters retrieval successful
18608+
content:
18609+
application/json:
18610+
schema:
18611+
type: array
18612+
items:
18613+
$ref: '#/components/schemas/RemoteClusterInfo'
18614+
"400":
18615+
$ref: '#/components/responses/BadRequest'
18616+
"401":
18617+
$ref: '#/components/responses/Unauthorized'
18618+
"403":
18619+
$ref: '#/components/responses/Forbidden'
18620+
"404":
18621+
$ref: '#/components/responses/NotFound'
1862218622
/api/v4/sharedchannels/users/{user_id}/can_dm/{other_user_id}:
1862318623
get:
1862418624
tags:
@@ -25421,12 +25421,12 @@ components:
2542125421
description: Additional attributes for the property field (options for select fields, visibility, etc.).
2542225422
additionalProperties: true
2542325423
example:
25424-
visibility: when_set
2542525424
sortOrder: 1
2542625425
options:
2542725426
- color: '#ff0000'
2542825427
id: opt1
2542925428
name: High
25429+
visibility: when_set
2543025430
PropertyFieldPatch:
2543125431
type: object
2543225432
properties:

0 commit comments

Comments
 (0)