Skip to content

Commit e63b57d

Browse files
Update OpenAPI spec
1 parent c84edf1 commit e63b57d

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

site/static/mattermost-openapi-v4.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19324,12 +19324,12 @@ paths:
1932419324
/api/v4/sharedchannels/{channel_id}/remotes:
1932519325
get:
1932619326
tags:
19327-
- channels
19327+
- shared channels
1932819328
summary: Get remote clusters for a shared channel
1932919329
description: |
1933019330
Gets the remote clusters information for a shared channel.
1933119331

19332-
__Minimum server version__: 10.10
19332+
__Minimum server version__: 10.11
1933319333

1933419334
##### Permissions
1933519335
Must be authenticated and have the `read_channel` permission for the channel.
@@ -21896,8 +21896,8 @@ paths:
2189621896
summary: First page, ascending order
2189721897
value:
2189821898
channel_id: 4xp9fdt77pncbef59f4k1qe83o
21899-
cursor: ""
2190021899
per_page: 100
21900+
cursor: ""
2190121901
subsequent_page:
2190221902
summary: Subsequent page using cursor
2190321903
value:
@@ -21907,17 +21907,17 @@ paths:
2190721907
time_range_query:
2190821908
summary: Query with time range starting from specific time
2190921909
value:
21910-
start_time: 1635638400000
21911-
cursor: ""
21912-
channel_id: 4xp9fdt77pncbef59f4k1qe83o
2191321910
per_page: 100
21911+
channel_id: 4xp9fdt77pncbef59f4k1qe83o
21912+
cursor: ""
21913+
start_time: 1635638400000
2191421914
descending_order:
2191521915
summary: Descending order from recent
2191621916
value:
2191721917
channel_id: 4xp9fdt77pncbef59f4k1qe83o
2191821918
cursor: ""
21919-
per_page: 100
2192021919
sort_direction: desc
21920+
per_page: 100
2192121921
responses:
2192221922
"200":
2192321923
description: Posts retrieved successfully
@@ -21961,9 +21961,9 @@ paths:
2196121961
value:
2196221962
posts:
2196321963
post_id_99:
21964+
id: post_id_99
2196421965
message: Last post
2196521966
create_at: 1635724800000
21966-
id: post_id_99
2196721967
"400":
2196821968
$ref: '#/components/responses/BadRequest'
2196921969
"401":
@@ -27357,12 +27357,12 @@ components:
2735727357
description: Additional attributes for the property field (options for select fields, visibility, etc.).
2735827358
additionalProperties: true
2735927359
example:
27360+
sortOrder: 1
27361+
visibility: when_set
2736027362
options:
2736127363
- color: '#ff0000'
2736227364
id: opt1
2736327365
name: High
27364-
visibility: when_set
27365-
sortOrder: 1
2736627366
PropertyFieldPatch:
2736727367
type: object
2736827368
properties:

0 commit comments

Comments
 (0)