Skip to content

Commit 82211a0

Browse files
Update OpenAPI spec
1 parent 0de8871 commit 82211a0

1 file changed

Lines changed: 43 additions & 43 deletions

File tree

site/static/mattermost-openapi-v4.yaml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -9323,43 +9323,6 @@ paths:
93239323
$ref: '#/components/responses/Forbidden'
93249324
"404":
93259325
$ref: '#/components/responses/NotFound'
9326-
/api/v4/sharedchannels/{channel_id}/remotes:
9327-
get:
9328-
tags:
9329-
- shared channels
9330-
summary: Get remote clusters for a shared channel
9331-
description: |
9332-
Gets the remote clusters information for a shared channel.
9333-
9334-
__Minimum server version__: 10.11
9335-
9336-
##### Permissions
9337-
Must be authenticated and have the `read_channel` permission for the channel.
9338-
operationId: GetSharedChannelRemotes
9339-
parameters:
9340-
- name: channel_id
9341-
in: path
9342-
description: Channel GUID
9343-
required: true
9344-
schema:
9345-
type: string
9346-
responses:
9347-
"200":
9348-
description: Remote clusters retrieval successful
9349-
content:
9350-
application/json:
9351-
schema:
9352-
type: array
9353-
items:
9354-
$ref: '#/components/schemas/RemoteClusterInfo'
9355-
"400":
9356-
$ref: '#/components/responses/BadRequest'
9357-
"401":
9358-
$ref: '#/components/responses/Unauthorized'
9359-
"403":
9360-
$ref: '#/components/responses/Forbidden'
9361-
"404":
9362-
$ref: '#/components/responses/NotFound'
93639326
/api/v4/channels/{channel_id}/common_teams:
93649327
get:
93659328
tags:
@@ -19638,6 +19601,43 @@ paths:
1963819601
$ref: '#/components/responses/Unauthorized'
1963919602
"403":
1964019603
$ref: '#/components/responses/Forbidden'
19604+
/api/v4/sharedchannels/{channel_id}/remotes:
19605+
get:
19606+
tags:
19607+
- shared channels
19608+
summary: Get remote clusters for a shared channel
19609+
description: |
19610+
Gets the remote clusters information for a shared channel.
19611+
19612+
__Minimum server version__: 10.11
19613+
19614+
##### Permissions
19615+
Must be authenticated and have the `read_channel` permission for the channel.
19616+
operationId: GetSharedChannelRemotes
19617+
parameters:
19618+
- name: channel_id
19619+
in: path
19620+
description: Channel GUID
19621+
required: true
19622+
schema:
19623+
type: string
19624+
responses:
19625+
"200":
19626+
description: Remote clusters retrieval successful
19627+
content:
19628+
application/json:
19629+
schema:
19630+
type: array
19631+
items:
19632+
$ref: '#/components/schemas/RemoteClusterInfo'
19633+
"400":
19634+
$ref: '#/components/responses/BadRequest'
19635+
"401":
19636+
$ref: '#/components/responses/Unauthorized'
19637+
"403":
19638+
$ref: '#/components/responses/Forbidden'
19639+
"404":
19640+
$ref: '#/components/responses/NotFound'
1964119641
/api/v4/sharedchannels/users/{user_id}/can_dm/{other_user_id}:
1964219642
get:
1964319643
tags:
@@ -22187,15 +22187,15 @@ paths:
2218722187
time_range_query:
2218822188
summary: Query with time range starting from specific time
2218922189
value:
22190-
channel_id: 4xp9fdt77pncbef59f4k1qe83o
2219122190
cursor: ""
22191+
channel_id: 4xp9fdt77pncbef59f4k1qe83o
2219222192
start_time: 1635638400000
2219322193
per_page: 100
2219422194
descending_order:
2219522195
summary: Descending order from recent
2219622196
value:
22197-
channel_id: 4xp9fdt77pncbef59f4k1qe83o
2219822197
per_page: 100
22198+
channel_id: 4xp9fdt77pncbef59f4k1qe83o
2219922199
cursor: ""
2220022200
sort_direction: desc
2220122201
responses:
@@ -22231,9 +22231,9 @@ paths:
2223122231
message: First post
2223222232
create_at: 1635638400000
2223322233
post_id_2:
22234-
create_at: 1635638500000
2223522234
id: post_id_2
2223622235
message: Second post
22236+
create_at: 1635638500000
2223722237
next_cursor:
2223822238
cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NjM4NTAwMDAwOnBvc3RfaWRfMg
2223922239
last_page:
@@ -32028,12 +32028,12 @@ components:
3202832028
$ref: '#/components/schemas/TeamReviewerConfig'
3202932029
description: Team-specific reviewer configuration, keyed by team ID
3203032030
example:
32031-
u1ujk34a47gfxp856pdczs9gey:
32032-
Enabled: false
32033-
ReviewerIds: []
3203432031
8guxic3sg7nijeu5dgxt1fh4ia:
3203532032
Enabled: true
3203632033
ReviewerIds: []
32034+
u1ujk34a47gfxp856pdczs9gey:
32035+
Enabled: false
32036+
ReviewerIds: []
3203732037
required:
3203832038
- CommonReviewers
3203932039
- SystemAdminsAsReviewers

0 commit comments

Comments
 (0)