Skip to content

Commit 855230d

Browse files
committed
Update video openapi Spec
1 parent 86a754b commit 855230d

36 files changed

+1999
-402
lines changed

openapi/chat-openapi-clientside.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi-clientside.yaml

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,7 @@ components:
12971297
filter_tags:
12981298
items:
12991299
type: string
1300+
maximum: 10
13001301
type: array
13011302
x-stream-index: "026"
13021303
frozen:
@@ -2294,7 +2295,6 @@ components:
22942295
description: List of words to block
22952296
items:
22962297
type: string
2297-
minimum: 1
22982298
title: Words
22992299
type: array
23002300
x-stream-index: "004"
@@ -7681,6 +7681,12 @@ components:
76817681
additionalProperties: {}
76827682
type: object
76837683
x-stream-index: "001"
7684+
filter_values:
7685+
additionalProperties: {}
7686+
description: Values to interpolate into the predefined filter template
7687+
title: Filter Values
7688+
type: object
7689+
x-stream-index: "011"
76847690
limit:
76857691
description: Number of channels to limit
76867692
format: int32
@@ -7708,6 +7714,12 @@ components:
77087714
title: Offset
77097715
type: integer
77107716
x-stream-index: "009"
7717+
predefined_filter:
7718+
description: ID of a predefined filter to use instead of filter_conditions
7719+
maxLength: 255
7720+
title: Predefined Filter
7721+
type: string
7722+
x-stream-index: "010"
77117723
presence:
77127724
title: Presence
77137725
type: boolean
@@ -7720,6 +7732,10 @@ components:
77207732
title: Sort
77217733
type: array
77227734
x-stream-index: "002"
7735+
sort_values:
7736+
additionalProperties: {}
7737+
type: object
7738+
x-stream-index: "012"
77237739
state:
77247740
description: Whether to update channel state or not
77257741
title: State
@@ -7828,7 +7844,6 @@ components:
78287844
members:
78297845
items:
78307846
$ref: '#/components/schemas/ChannelMemberRequest'
7831-
maximum: 100
78327847
type: array
78337848
x-stream-index: "003"
78347849
offset:
@@ -8899,8 +8914,6 @@ components:
88998914
type: boolean
89008915
x-stream-index: "010"
89018916
force_sql_v2_backend:
8902-
description: Force usage of SQL v2 search backend
8903-
title: Force SQL v2 Backend
89048917
type: boolean
89058918
x-stream-index: "011"
89068919
limit:
@@ -10266,7 +10279,6 @@ components:
1026610279
description: List of words to block
1026710280
items:
1026810281
type: string
10269-
minimum: 1
1027010282
title: Words
1027110283
type: array
1027210284
x-stream-index: "003"
@@ -10339,6 +10351,7 @@ components:
1033910351
description: List of filter tags to add to the channel
1034010352
items:
1034110353
type: string
10354+
maximum: 10
1034210355
title: Add filter tags
1034310356
type: array
1034410357
x-stream-index: "014"
@@ -10824,7 +10837,6 @@ components:
1082410837
users:
1082510838
items:
1082610839
$ref: '#/components/schemas/UpdateUserPartialRequest'
10827-
maximum: 100
1082810840
type: array
1082910841
x-stream-index: "001"
1083010842
required:
@@ -12142,7 +12154,7 @@ components:
1214212154
type: apiKey
1214312155
info:
1214412156
title: Stream API
12145-
version: v214.2.0
12157+
version: v214.11.1
1214612158
openapi: 3.0.3
1214712159
paths:
1214812160
/app:
@@ -12335,7 +12347,7 @@ paths:
1233512347
Body or URL parameter
1233612348
title: Connection ID
1233712349
type: string
12338-
x-stream-index: "011.003"
12350+
x-stream-index: "014.003"
1233912351
requestBody:
1234012352
content:
1234112353
application/json:

openapi/chat-openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

openapi/chat-openapi.yaml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2271,6 +2271,7 @@ components:
22712271
filter_tags:
22722272
items:
22732273
type: string
2274+
maximum: 10
22742275
type: array
22752276
x-stream-index: "026"
22762277
frozen:
@@ -3673,7 +3674,6 @@ components:
36733674
description: List of words to block
36743675
items:
36753676
type: string
3676-
minimum: 1
36773677
title: Words
36783678
type: array
36793679
x-stream-index: "004"
@@ -8318,7 +8318,7 @@ components:
83188318
type: array
83198319
x-stream-index: "001.002"
83208320
type:
8321-
default: message.new
8321+
default: notification.thread_message_new
83228322
type: string
83238323
x-stream-index: "004.001"
83248324
user:
@@ -11148,6 +11148,12 @@ components:
1114811148
additionalProperties: {}
1114911149
type: object
1115011150
x-stream-index: "001"
11151+
filter_values:
11152+
additionalProperties: {}
11153+
description: Values to interpolate into the predefined filter template
11154+
title: Filter Values
11155+
type: object
11156+
x-stream-index: "011"
1115111157
limit:
1115211158
description: Number of channels to limit
1115311159
format: int32
@@ -11175,6 +11181,12 @@ components:
1117511181
title: Offset
1117611182
type: integer
1117711183
x-stream-index: "009"
11184+
predefined_filter:
11185+
description: ID of a predefined filter to use instead of filter_conditions
11186+
maxLength: 255
11187+
title: Predefined Filter
11188+
type: string
11189+
x-stream-index: "010"
1117811190
sort:
1117911191
description: List of sort parameters
1118011192
items:
@@ -11183,17 +11195,21 @@ components:
1118311195
title: Sort
1118411196
type: array
1118511197
x-stream-index: "002"
11198+
sort_values:
11199+
additionalProperties: {}
11200+
type: object
11201+
x-stream-index: "012"
1118611202
state:
1118711203
description: Whether to update channel state or not
1118811204
title: State
1118911205
type: boolean
1119011206
x-stream-index: "004"
1119111207
user:
1119211208
$ref: '#/components/schemas/UserRequest'
11193-
x-stream-index: "010.002"
11209+
x-stream-index: "013.002"
1119411210
user_id:
1119511211
type: string
11196-
x-stream-index: "010.001"
11212+
x-stream-index: "013.001"
1119711213
title: Query Channels Request
1119811214
type: object
1119911215
x-stream-docs-page-id: query_channels
@@ -11298,7 +11314,6 @@ components:
1129811314
members:
1129911315
items:
1130011316
$ref: '#/components/schemas/ChannelMemberRequest'
11301-
maximum: 100
1130211317
type: array
1130311318
x-stream-index: "003"
1130411319
offset:
@@ -12841,8 +12856,6 @@ components:
1284112856
type: boolean
1284212857
x-stream-index: "010"
1284312858
force_sql_v2_backend:
12844-
description: Force usage of SQL v2 search backend
12845-
title: Force SQL v2 Backend
1284612859
type: boolean
1284712860
x-stream-index: "011"
1284812861
limit:
@@ -14371,6 +14384,7 @@ components:
1437114384
items:
1437214385
type: string
1437314386
maximum: 100
14387+
minimum: 1
1437414388
type: array
1437514389
x-stream-index: "001"
1437614390
required:
@@ -14656,6 +14670,7 @@ components:
1465614670
user_search_disallowed_roles:
1465714671
items:
1465814672
type: string
14673+
maximum: 10
1465914674
type: array
1466014675
x-stream-index: "001.012"
1466114676
webhook_events:
@@ -14686,7 +14701,6 @@ components:
1468614701
description: List of words to block
1468714702
items:
1468814703
type: string
14689-
minimum: 1
1469014704
title: Words
1469114705
type: array
1469214706
x-stream-index: "003"
@@ -14765,6 +14779,7 @@ components:
1476514779
description: List of filter tags to add to the channel
1476614780
items:
1476714781
type: string
14782+
maximum: 10
1476814783
title: Add filter tags
1476914784
type: array
1477014785
x-stream-index: "014"
@@ -15725,7 +15740,6 @@ components:
1572515740
users:
1572615741
items:
1572715742
$ref: '#/components/schemas/UpdateUserPartialRequest'
15728-
maximum: 100
1572915743
type: array
1573015744
x-stream-index: "001"
1573115745
required:
@@ -17260,7 +17274,7 @@ components:
1726017274
type: apiKey
1726117275
info:
1726217276
title: Stream API
17263-
version: v214.2.0
17277+
version: v214.11.1
1726417278
openapi: 3.0.3
1726517279
paths:
1726617280
/app:

openapi/clientside-api.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)