Skip to content

Commit 4b3cb7d

Browse files
Update OpenAPI spec
1 parent 3e5df97 commit 4b3cb7d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

site/static/mattermost-openapi-v4.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8969,12 +8969,12 @@ paths:
89698969
/api/v4/sharedchannels/{channel_id}/remotes:
89708970
get:
89718971
tags:
8972-
- shared channels
8972+
- channels
89738973
summary: Get remote clusters for a shared channel
89748974
description: |
89758975
Gets the remote clusters information for a shared channel.
89768976

8977-
__Minimum server version__: 10.11
8977+
__Minimum server version__: 10.10
89788978

89798979
##### Permissions
89808980
Must be authenticated and have the `read_channel` permission for the channel.
@@ -21351,22 +21351,22 @@ paths:
2135121351
summary: Subsequent page using cursor
2135221352
value:
2135321353
channel_id: 4xp9fdt77pncbef59f4k1qe83o
21354-
cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NzI0ODAwMDAwOnBvc3QxMjM
2135521354
per_page: 100
21355+
cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NzI0ODAwMDAwOnBvc3QxMjM
2135621356
time_range_query:
2135721357
summary: Query with time range starting from specific time
2135821358
value:
21359-
channel_id: 4xp9fdt77pncbef59f4k1qe83o
2136021359
cursor: ""
21360+
channel_id: 4xp9fdt77pncbef59f4k1qe83o
2136121361
start_time: 1635638400000
2136221362
per_page: 100
2136321363
descending_order:
2136421364
summary: Descending order from recent
2136521365
value:
2136621366
sort_direction: desc
21367-
cursor: ""
2136821367
per_page: 100
2136921368
channel_id: 4xp9fdt77pncbef59f4k1qe83o
21369+
cursor: ""
2137021370
responses:
2137121371
"200":
2137221372
description: Posts retrieved successfully
@@ -21394,17 +21394,17 @@ paths:
2139421394
with_more_pages:
2139521395
summary: Response with more pages available
2139621396
value:
21397+
next_cursor:
21398+
cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NjM4NTAwMDAwOnBvc3RfaWRfMg
2139721399
posts:
2139821400
post_id_1:
21399-
create_at: 1635638400000
2140021401
id: post_id_1
2140121402
message: First post
21403+
create_at: 1635638400000
2140221404
post_id_2:
21403-
id: post_id_2
2140421405
message: Second post
2140521406
create_at: 1635638500000
21406-
next_cursor:
21407-
cursor: MTphYmMxMjM6Y3JlYXRlX2F0OmZhbHNlOmZhbHNlOmFzYzoxNjM1NjM4NTAwMDAwOnBvc3RfaWRfMg
21407+
id: post_id_2
2140821408
last_page:
2140921409
summary: Last page (no more results)
2141021410
value:
@@ -26325,8 +26325,8 @@ components:
2632526325
description: Additional attributes for the property field (options for select fields, visibility, etc.).
2632626326
additionalProperties: true
2632726327
example:
26328-
visibility: when_set
2632926328
sortOrder: 1
26329+
visibility: when_set
2633026330
options:
2633126331
- color: '#ff0000'
2633226332
id: opt1

0 commit comments

Comments
 (0)