Skip to content

Commit 00a38e9

Browse files
committed
Update video openapi Spec
1 parent 39038f7 commit 00a38e9

32 files changed

+8888
-1513
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: 1162 additions & 206 deletions
Large diffs are not rendered by default.

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 993 additions & 211 deletions
Large diffs are not rendered by default.

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 978 additions & 161 deletions
Large diffs are not rendered by default.

openapi/moderation-clientside-api.json

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

openapi/moderation-clientside-api.yaml

Lines changed: 143 additions & 79 deletions
Large diffs are not rendered by default.

openapi/moderation-serverside-api.json

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

openapi/moderation-serverside-api.yaml

Lines changed: 123 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -931,6 +931,7 @@ components:
931931
action:
932932
enum:
933933
- flag
934+
- mask_flag
934935
- shadow
935936
- remove
936937
- bounce
@@ -1993,39 +1994,39 @@ components:
19931994
items:
19941995
type: string
19951996
type: array
1996-
x-stream-index: "001.024"
1997+
x-stream-index: "001.025"
19971998
automod:
19981999
enum:
19992000
- disabled
20002001
- simple
20012002
- AI
20022003
type: string
2003-
x-stream-index: "001.019"
2004+
x-stream-index: "001.020"
20042005
automod_behavior:
20052006
enum:
20062007
- flag
20072008
- block
20082009
- shadow_block
20092010
type: string
2010-
x-stream-index: "001.020"
2011+
x-stream-index: "001.021"
20112012
automod_thresholds:
20122013
$ref: '#/components/schemas/Thresholds'
2013-
x-stream-index: "001.025"
2014+
x-stream-index: "001.026"
20142015
blocklist:
20152016
type: string
2016-
x-stream-index: "001.021"
2017+
x-stream-index: "001.022"
20172018
blocklist_behavior:
20182019
enum:
20192020
- flag
20202021
- block
20212022
- shadow_block
20222023
type: string
2023-
x-stream-index: "001.022"
2024+
x-stream-index: "001.023"
20242025
blocklists:
20252026
items:
20262027
$ref: '#/components/schemas/BlockListOptions'
20272028
type: array
2028-
x-stream-index: "001.023"
2029+
x-stream-index: "001.024"
20292030
commands:
20302031
items:
20312032
type: string
@@ -2048,7 +2049,7 @@ components:
20482049
format: int32
20492050
maximum: 20000
20502051
type: integer
2051-
x-stream-index: "001.018"
2052+
x-stream-index: "001.019"
20522053
mutes:
20532054
type: boolean
20542055
x-stream-index: "001.009"
@@ -2058,10 +2059,10 @@ components:
20582059
partition_size:
20592060
format: int32
20602061
type: integer
2061-
x-stream-index: "001.026"
2062+
x-stream-index: "001.027"
20622063
partition_ttl:
20632064
type: integer
2064-
x-stream-index: "001.027"
2065+
x-stream-index: "001.028"
20652066
polls:
20662067
type: boolean
20672068
x-stream-index: "001.016"
@@ -2088,7 +2089,7 @@ components:
20882089
x-stream-index: "001.005"
20892090
skip_last_msg_update_for_system_msgs:
20902091
type: boolean
2091-
x-stream-index: "001.028"
2092+
x-stream-index: "001.029"
20922093
typing_events:
20932094
type: boolean
20942095
x-stream-index: "001.002"
@@ -2102,6 +2103,9 @@ components:
21022103
url_enrichment:
21032104
type: boolean
21042105
x-stream-index: "001.011"
2106+
user_message_reminders:
2107+
type: boolean
2108+
x-stream-index: "001.017"
21052109
required:
21062110
- name
21072111
- typing_events
@@ -2119,6 +2123,7 @@ components:
21192123
- reminders
21202124
- mark_messages_pending
21212125
- polls
2126+
- user_message_reminders
21222127
- message_retention
21232128
- max_message_length
21242129
- automod
@@ -2134,39 +2139,39 @@ components:
21342139
items:
21352140
type: string
21362141
type: array
2137-
x-stream-index: 001.002.024
2142+
x-stream-index: 001.002.025
21382143
automod:
21392144
enum:
21402145
- disabled
21412146
- simple
21422147
- AI
21432148
type: string
2144-
x-stream-index: 001.002.019
2149+
x-stream-index: 001.002.020
21452150
automod_behavior:
21462151
enum:
21472152
- flag
21482153
- block
21492154
- shadow_block
21502155
type: string
2151-
x-stream-index: 001.002.020
2156+
x-stream-index: 001.002.021
21522157
automod_thresholds:
21532158
$ref: '#/components/schemas/Thresholds'
2154-
x-stream-index: 001.002.025
2159+
x-stream-index: 001.002.026
21552160
blocklist:
21562161
type: string
2157-
x-stream-index: 001.002.021
2162+
x-stream-index: 001.002.022
21582163
blocklist_behavior:
21592164
enum:
21602165
- flag
21612166
- block
21622167
- shadow_block
21632168
type: string
2164-
x-stream-index: 001.002.022
2169+
x-stream-index: 001.002.023
21652170
blocklists:
21662171
items:
21672172
$ref: '#/components/schemas/BlockListOptions'
21682173
type: array
2169-
x-stream-index: 001.002.023
2174+
x-stream-index: 001.002.024
21702175
commands:
21712176
items:
21722177
$ref: '#/components/schemas/Command'
@@ -2196,7 +2201,7 @@ components:
21962201
format: int32
21972202
maximum: 20000
21982203
type: integer
2199-
x-stream-index: 001.002.018
2204+
x-stream-index: 001.002.019
22002205
mutes:
22012206
type: boolean
22022207
x-stream-index: 001.002.009
@@ -2206,10 +2211,10 @@ components:
22062211
partition_size:
22072212
format: int32
22082213
type: integer
2209-
x-stream-index: 001.002.026
2214+
x-stream-index: 001.002.027
22102215
partition_ttl:
22112216
type: integer
2212-
x-stream-index: 001.002.027
2217+
x-stream-index: 001.002.028
22132218
polls:
22142219
type: boolean
22152220
x-stream-index: 001.002.016
@@ -2236,7 +2241,7 @@ components:
22362241
x-stream-index: 001.002.005
22372242
skip_last_msg_update_for_system_msgs:
22382243
type: boolean
2239-
x-stream-index: 001.002.028
2244+
x-stream-index: 001.002.029
22402245
typing_events:
22412246
type: boolean
22422247
x-stream-index: 001.002.002
@@ -2250,6 +2255,9 @@ components:
22502255
url_enrichment:
22512256
type: boolean
22522257
x-stream-index: 001.002.011
2258+
user_message_reminders:
2259+
type: boolean
2260+
x-stream-index: 001.002.017
22532261
required:
22542262
- created_at
22552263
- updated_at
@@ -2269,6 +2277,7 @@ components:
22692277
- reminders
22702278
- mark_messages_pending
22712279
- polls
2280+
- user_message_reminders
22722281
- message_retention
22732282
- max_message_length
22742283
- automod
@@ -2679,6 +2688,9 @@ components:
26792688
url_enrichment:
26802689
type: boolean
26812690
x-stream-index: "006"
2691+
user_message_reminders:
2692+
type: boolean
2693+
x-stream-index: "012"
26822694
required:
26832695
- grants
26842696
- commands
@@ -4253,6 +4265,9 @@ components:
42534265
type: integer
42544266
type: object
42554267
x-stream-index: "016"
4268+
reminder:
4269+
$ref: '#/components/schemas/MessageReminder'
4270+
x-stream-index: "057"
42564271
reply_count:
42574272
format: int32
42584273
type: integer
@@ -4312,6 +4327,49 @@ components:
43124327
- silent
43134328
- pinned
43144329
type: object
4330+
MessageReminder:
4331+
properties:
4332+
channel:
4333+
$ref: '#/components/schemas/Channel'
4334+
x-stream-index: "004"
4335+
channel_cid:
4336+
type: string
4337+
x-stream-index: "003"
4338+
created_at:
4339+
format: date-time
4340+
type: number
4341+
x-stream-index: "011"
4342+
message:
4343+
$ref: '#/components/schemas/Message'
4344+
x-stream-index: "006"
4345+
message_id:
4346+
type: string
4347+
x-stream-index: "005"
4348+
remind_at:
4349+
format: date-time
4350+
type: number
4351+
x-stream-index: "009"
4352+
task_id:
4353+
type: string
4354+
x-stream-index: "010"
4355+
updated_at:
4356+
format: date-time
4357+
type: number
4358+
x-stream-index: "012"
4359+
user:
4360+
$ref: '#/components/schemas/User'
4361+
x-stream-index: "008"
4362+
user_id:
4363+
type: string
4364+
x-stream-index: "007"
4365+
required:
4366+
- channel_cid
4367+
- message_id
4368+
- user_id
4369+
- task_id
4370+
- created_at
4371+
- updated_at
4372+
type: object
43154373
MessageResponse:
43164374
description: Represents any chat message
43174375
properties:
@@ -4495,6 +4553,9 @@ components:
44954553
title: Reaction scores
44964554
type: object
44974555
x-stream-index: "012"
4556+
reminder:
4557+
$ref: '#/components/schemas/ReminderResponseData'
4558+
x-stream-index: "042"
44984559
reply_count:
44994560
description: Number of replies to this message
45004561
format: int32
@@ -6093,6 +6154,45 @@ components:
60936154
$ref: '#/components/schemas/VideoOrientation'
60946155
x-stream-index: "009"
60956156
type: object
6157+
ReminderResponseData:
6158+
properties:
6159+
channel:
6160+
$ref: '#/components/schemas/ChannelResponse'
6161+
x-stream-index: "003"
6162+
channel_cid:
6163+
type: string
6164+
x-stream-index: "002"
6165+
created_at:
6166+
format: date-time
6167+
type: number
6168+
x-stream-index: "008"
6169+
message:
6170+
$ref: '#/components/schemas/Message'
6171+
x-stream-index: "005"
6172+
message_id:
6173+
type: string
6174+
x-stream-index: "004"
6175+
remind_at:
6176+
format: date-time
6177+
type: number
6178+
x-stream-index: "001"
6179+
updated_at:
6180+
format: date-time
6181+
type: number
6182+
x-stream-index: "009"
6183+
user:
6184+
$ref: '#/components/schemas/User'
6185+
x-stream-index: "007"
6186+
user_id:
6187+
type: string
6188+
x-stream-index: "006"
6189+
required:
6190+
- channel_cid
6191+
- message_id
6192+
- user_id
6193+
- created_at
6194+
- updated_at
6195+
type: object
60966196
RestoreActionRequest:
60976197
type: object
60986198
ReviewQueueItem:
@@ -7825,7 +7925,7 @@ components:
78257925
type: apiKey
78267926
info:
78277927
title: Stream API
7828-
version: v178.0.0
7928+
version: v179.6.0
78297929
openapi: 3.0.3
78307930
paths:
78317931
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)