Skip to content

Commit f71f621

Browse files
committed
Update video openapi Spec
1 parent 7aed250 commit f71f621

32 files changed

+6788
-1144
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: 961 additions & 141 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: 750 additions & 127 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: 767 additions & 87 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: 142 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 & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ components:
427427
type: string
428428
x-stream-index: "002.001"
429429
type:
430-
default: export.moderation_logs.error
430+
default: export.bulk_image_moderation.error
431431
type: string
432432
x-stream-index: "003.002"
433433
required:
@@ -1993,39 +1993,39 @@ components:
19931993
items:
19941994
type: string
19951995
type: array
1996-
x-stream-index: "001.024"
1996+
x-stream-index: "001.025"
19971997
automod:
19981998
enum:
19991999
- disabled
20002000
- simple
20012001
- AI
20022002
type: string
2003-
x-stream-index: "001.019"
2003+
x-stream-index: "001.020"
20042004
automod_behavior:
20052005
enum:
20062006
- flag
20072007
- block
20082008
- shadow_block
20092009
type: string
2010-
x-stream-index: "001.020"
2010+
x-stream-index: "001.021"
20112011
automod_thresholds:
20122012
$ref: '#/components/schemas/Thresholds'
2013-
x-stream-index: "001.025"
2013+
x-stream-index: "001.026"
20142014
blocklist:
20152015
type: string
2016-
x-stream-index: "001.021"
2016+
x-stream-index: "001.022"
20172017
blocklist_behavior:
20182018
enum:
20192019
- flag
20202020
- block
20212021
- shadow_block
20222022
type: string
2023-
x-stream-index: "001.022"
2023+
x-stream-index: "001.023"
20242024
blocklists:
20252025
items:
20262026
$ref: '#/components/schemas/BlockListOptions'
20272027
type: array
2028-
x-stream-index: "001.023"
2028+
x-stream-index: "001.024"
20292029
commands:
20302030
items:
20312031
type: string
@@ -2048,7 +2048,7 @@ components:
20482048
format: int32
20492049
maximum: 20000
20502050
type: integer
2051-
x-stream-index: "001.018"
2051+
x-stream-index: "001.019"
20522052
mutes:
20532053
type: boolean
20542054
x-stream-index: "001.009"
@@ -2058,10 +2058,10 @@ components:
20582058
partition_size:
20592059
format: int32
20602060
type: integer
2061-
x-stream-index: "001.026"
2061+
x-stream-index: "001.027"
20622062
partition_ttl:
20632063
type: integer
2064-
x-stream-index: "001.027"
2064+
x-stream-index: "001.028"
20652065
polls:
20662066
type: boolean
20672067
x-stream-index: "001.016"
@@ -2088,7 +2088,7 @@ components:
20882088
x-stream-index: "001.005"
20892089
skip_last_msg_update_for_system_msgs:
20902090
type: boolean
2091-
x-stream-index: "001.028"
2091+
x-stream-index: "001.029"
20922092
typing_events:
20932093
type: boolean
20942094
x-stream-index: "001.002"
@@ -2102,6 +2102,9 @@ components:
21022102
url_enrichment:
21032103
type: boolean
21042104
x-stream-index: "001.011"
2105+
user_message_reminders:
2106+
type: boolean
2107+
x-stream-index: "001.017"
21052108
required:
21062109
- name
21072110
- typing_events
@@ -2119,6 +2122,7 @@ components:
21192122
- reminders
21202123
- mark_messages_pending
21212124
- polls
2125+
- user_message_reminders
21222126
- message_retention
21232127
- max_message_length
21242128
- automod
@@ -2134,39 +2138,39 @@ components:
21342138
items:
21352139
type: string
21362140
type: array
2137-
x-stream-index: 001.002.024
2141+
x-stream-index: 001.002.025
21382142
automod:
21392143
enum:
21402144
- disabled
21412145
- simple
21422146
- AI
21432147
type: string
2144-
x-stream-index: 001.002.019
2148+
x-stream-index: 001.002.020
21452149
automod_behavior:
21462150
enum:
21472151
- flag
21482152
- block
21492153
- shadow_block
21502154
type: string
2151-
x-stream-index: 001.002.020
2155+
x-stream-index: 001.002.021
21522156
automod_thresholds:
21532157
$ref: '#/components/schemas/Thresholds'
2154-
x-stream-index: 001.002.025
2158+
x-stream-index: 001.002.026
21552159
blocklist:
21562160
type: string
2157-
x-stream-index: 001.002.021
2161+
x-stream-index: 001.002.022
21582162
blocklist_behavior:
21592163
enum:
21602164
- flag
21612165
- block
21622166
- shadow_block
21632167
type: string
2164-
x-stream-index: 001.002.022
2168+
x-stream-index: 001.002.023
21652169
blocklists:
21662170
items:
21672171
$ref: '#/components/schemas/BlockListOptions'
21682172
type: array
2169-
x-stream-index: 001.002.023
2173+
x-stream-index: 001.002.024
21702174
commands:
21712175
items:
21722176
$ref: '#/components/schemas/Command'
@@ -2196,7 +2200,7 @@ components:
21962200
format: int32
21972201
maximum: 20000
21982202
type: integer
2199-
x-stream-index: 001.002.018
2203+
x-stream-index: 001.002.019
22002204
mutes:
22012205
type: boolean
22022206
x-stream-index: 001.002.009
@@ -2206,10 +2210,10 @@ components:
22062210
partition_size:
22072211
format: int32
22082212
type: integer
2209-
x-stream-index: 001.002.026
2213+
x-stream-index: 001.002.027
22102214
partition_ttl:
22112215
type: integer
2212-
x-stream-index: 001.002.027
2216+
x-stream-index: 001.002.028
22132217
polls:
22142218
type: boolean
22152219
x-stream-index: 001.002.016
@@ -2236,7 +2240,7 @@ components:
22362240
x-stream-index: 001.002.005
22372241
skip_last_msg_update_for_system_msgs:
22382242
type: boolean
2239-
x-stream-index: 001.002.028
2243+
x-stream-index: 001.002.029
22402244
typing_events:
22412245
type: boolean
22422246
x-stream-index: 001.002.002
@@ -2250,6 +2254,9 @@ components:
22502254
url_enrichment:
22512255
type: boolean
22522256
x-stream-index: 001.002.011
2257+
user_message_reminders:
2258+
type: boolean
2259+
x-stream-index: 001.002.017
22532260
required:
22542261
- created_at
22552262
- updated_at
@@ -2269,6 +2276,7 @@ components:
22692276
- reminders
22702277
- mark_messages_pending
22712278
- polls
2279+
- user_message_reminders
22722280
- message_retention
22732281
- max_message_length
22742282
- automod
@@ -2679,6 +2687,9 @@ components:
26792687
url_enrichment:
26802688
type: boolean
26812689
x-stream-index: "006"
2690+
user_message_reminders:
2691+
type: boolean
2692+
x-stream-index: "012"
26822693
required:
26832694
- grants
26842695
- commands
@@ -4253,6 +4264,9 @@ components:
42534264
type: integer
42544265
type: object
42554266
x-stream-index: "016"
4267+
reminder:
4268+
$ref: '#/components/schemas/MessageReminder'
4269+
x-stream-index: "057"
42564270
reply_count:
42574271
format: int32
42584272
type: integer
@@ -4312,6 +4326,49 @@ components:
43124326
- silent
43134327
- pinned
43144328
type: object
4329+
MessageReminder:
4330+
properties:
4331+
channel:
4332+
$ref: '#/components/schemas/Channel'
4333+
x-stream-index: "004"
4334+
channel_cid:
4335+
type: string
4336+
x-stream-index: "003"
4337+
created_at:
4338+
format: date-time
4339+
type: number
4340+
x-stream-index: "011"
4341+
message:
4342+
$ref: '#/components/schemas/Message'
4343+
x-stream-index: "006"
4344+
message_id:
4345+
type: string
4346+
x-stream-index: "005"
4347+
remind_at:
4348+
format: date-time
4349+
type: number
4350+
x-stream-index: "009"
4351+
task_id:
4352+
type: string
4353+
x-stream-index: "010"
4354+
updated_at:
4355+
format: date-time
4356+
type: number
4357+
x-stream-index: "012"
4358+
user:
4359+
$ref: '#/components/schemas/User'
4360+
x-stream-index: "008"
4361+
user_id:
4362+
type: string
4363+
x-stream-index: "007"
4364+
required:
4365+
- channel_cid
4366+
- message_id
4367+
- user_id
4368+
- task_id
4369+
- created_at
4370+
- updated_at
4371+
type: object
43154372
MessageResponse:
43164373
description: Represents any chat message
43174374
properties:
@@ -4495,6 +4552,9 @@ components:
44954552
title: Reaction scores
44964553
type: object
44974554
x-stream-index: "012"
4555+
reminder:
4556+
$ref: '#/components/schemas/ReminderResponseData'
4557+
x-stream-index: "042"
44984558
reply_count:
44994559
description: Number of replies to this message
45004560
format: int32
@@ -6093,6 +6153,45 @@ components:
60936153
$ref: '#/components/schemas/VideoOrientation'
60946154
x-stream-index: "009"
60956155
type: object
6156+
ReminderResponseData:
6157+
properties:
6158+
channel:
6159+
$ref: '#/components/schemas/ChannelResponse'
6160+
x-stream-index: "003"
6161+
channel_cid:
6162+
type: string
6163+
x-stream-index: "002"
6164+
created_at:
6165+
format: date-time
6166+
type: number
6167+
x-stream-index: "008"
6168+
message:
6169+
$ref: '#/components/schemas/Message'
6170+
x-stream-index: "005"
6171+
message_id:
6172+
type: string
6173+
x-stream-index: "004"
6174+
remind_at:
6175+
format: date-time
6176+
type: number
6177+
x-stream-index: "001"
6178+
updated_at:
6179+
format: date-time
6180+
type: number
6181+
x-stream-index: "009"
6182+
user:
6183+
$ref: '#/components/schemas/User'
6184+
x-stream-index: "007"
6185+
user_id:
6186+
type: string
6187+
x-stream-index: "006"
6188+
required:
6189+
- channel_cid
6190+
- message_id
6191+
- user_id
6192+
- created_at
6193+
- updated_at
6194+
type: object
60966195
RestoreActionRequest:
60976196
type: object
60986197
ReviewQueueItem:
@@ -7825,7 +7924,7 @@ components:
78257924
type: apiKey
78267925
info:
78277926
title: Stream API
7828-
version: v178.0.0
7927+
version: v179.1.0
78297928
openapi: 3.0.3
78307929
paths:
78317930
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)