Skip to content

Commit f25caf2

Browse files
committed
Update video openapi Spec
1 parent bfb3af1 commit f25caf2

32 files changed

+6778
-1194
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: 751 additions & 133 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: 765 additions & 90 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 & 84 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 & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ components:
392392
type: string
393393
x-stream-index: "002.001"
394394
type:
395-
default: export.moderation_logs.error
395+
default: export.bulk_image_moderation.error
396396
type: string
397397
x-stream-index: "003.002"
398398
required:
@@ -1830,10 +1830,6 @@ components:
18301830
type: number
18311831
writeOnly: true
18321832
x-stream-index: "005"
1833-
EnableLiveInsights:
1834-
type: boolean
1835-
writeOnly: true
1836-
x-stream-index: "010"
18371833
ExternalStorage:
18381834
type: string
18391835
writeOnly: true
@@ -1865,7 +1861,6 @@ components:
18651861
- CreatedAt
18661862
- UpdatedAt
18671863
- ExternalStorage
1868-
- EnableLiveInsights
18691864
type: object
18701865
Channel:
18711866
properties:
@@ -1963,39 +1958,39 @@ components:
19631958
items:
19641959
type: string
19651960
type: array
1966-
x-stream-index: "001.024"
1961+
x-stream-index: "001.025"
19671962
automod:
19681963
enum:
19691964
- disabled
19701965
- simple
19711966
- AI
19721967
type: string
1973-
x-stream-index: "001.019"
1968+
x-stream-index: "001.020"
19741969
automod_behavior:
19751970
enum:
19761971
- flag
19771972
- block
19781973
- shadow_block
19791974
type: string
1980-
x-stream-index: "001.020"
1975+
x-stream-index: "001.021"
19811976
automod_thresholds:
19821977
$ref: '#/components/schemas/Thresholds'
1983-
x-stream-index: "001.025"
1978+
x-stream-index: "001.026"
19841979
blocklist:
19851980
type: string
1986-
x-stream-index: "001.021"
1981+
x-stream-index: "001.022"
19871982
blocklist_behavior:
19881983
enum:
19891984
- flag
19901985
- block
19911986
- shadow_block
19921987
type: string
1993-
x-stream-index: "001.022"
1988+
x-stream-index: "001.023"
19941989
blocklists:
19951990
items:
19961991
$ref: '#/components/schemas/BlockListOptions'
19971992
type: array
1998-
x-stream-index: "001.023"
1993+
x-stream-index: "001.024"
19991994
commands:
20001995
items:
20011996
type: string
@@ -2018,7 +2013,7 @@ components:
20182013
format: int32
20192014
maximum: 20000
20202015
type: integer
2021-
x-stream-index: "001.018"
2016+
x-stream-index: "001.019"
20222017
mutes:
20232018
type: boolean
20242019
x-stream-index: "001.009"
@@ -2028,10 +2023,10 @@ components:
20282023
partition_size:
20292024
format: int32
20302025
type: integer
2031-
x-stream-index: "001.026"
2026+
x-stream-index: "001.027"
20322027
partition_ttl:
20332028
type: integer
2034-
x-stream-index: "001.027"
2029+
x-stream-index: "001.028"
20352030
polls:
20362031
type: boolean
20372032
x-stream-index: "001.016"
@@ -2058,7 +2053,7 @@ components:
20582053
x-stream-index: "001.005"
20592054
skip_last_msg_update_for_system_msgs:
20602055
type: boolean
2061-
x-stream-index: "001.028"
2056+
x-stream-index: "001.029"
20622057
typing_events:
20632058
type: boolean
20642059
x-stream-index: "001.002"
@@ -2072,6 +2067,9 @@ components:
20722067
url_enrichment:
20732068
type: boolean
20742069
x-stream-index: "001.011"
2070+
user_message_reminders:
2071+
type: boolean
2072+
x-stream-index: "001.017"
20752073
required:
20762074
- name
20772075
- typing_events
@@ -2089,6 +2087,7 @@ components:
20892087
- reminders
20902088
- mark_messages_pending
20912089
- polls
2090+
- user_message_reminders
20922091
- message_retention
20932092
- max_message_length
20942093
- automod
@@ -2104,39 +2103,39 @@ components:
21042103
items:
21052104
type: string
21062105
type: array
2107-
x-stream-index: 001.002.024
2106+
x-stream-index: 001.002.025
21082107
automod:
21092108
enum:
21102109
- disabled
21112110
- simple
21122111
- AI
21132112
type: string
2114-
x-stream-index: 001.002.019
2113+
x-stream-index: 001.002.020
21152114
automod_behavior:
21162115
enum:
21172116
- flag
21182117
- block
21192118
- shadow_block
21202119
type: string
2121-
x-stream-index: 001.002.020
2120+
x-stream-index: 001.002.021
21222121
automod_thresholds:
21232122
$ref: '#/components/schemas/Thresholds'
2124-
x-stream-index: 001.002.025
2123+
x-stream-index: 001.002.026
21252124
blocklist:
21262125
type: string
2127-
x-stream-index: 001.002.021
2126+
x-stream-index: 001.002.022
21282127
blocklist_behavior:
21292128
enum:
21302129
- flag
21312130
- block
21322131
- shadow_block
21332132
type: string
2134-
x-stream-index: 001.002.022
2133+
x-stream-index: 001.002.023
21352134
blocklists:
21362135
items:
21372136
$ref: '#/components/schemas/BlockListOptions'
21382137
type: array
2139-
x-stream-index: 001.002.023
2138+
x-stream-index: 001.002.024
21402139
commands:
21412140
items:
21422141
$ref: '#/components/schemas/Command'
@@ -2166,7 +2165,7 @@ components:
21662165
format: int32
21672166
maximum: 20000
21682167
type: integer
2169-
x-stream-index: 001.002.018
2168+
x-stream-index: 001.002.019
21702169
mutes:
21712170
type: boolean
21722171
x-stream-index: 001.002.009
@@ -2176,10 +2175,10 @@ components:
21762175
partition_size:
21772176
format: int32
21782177
type: integer
2179-
x-stream-index: 001.002.026
2178+
x-stream-index: 001.002.027
21802179
partition_ttl:
21812180
type: integer
2182-
x-stream-index: 001.002.027
2181+
x-stream-index: 001.002.028
21832182
polls:
21842183
type: boolean
21852184
x-stream-index: 001.002.016
@@ -2206,7 +2205,7 @@ components:
22062205
x-stream-index: 001.002.005
22072206
skip_last_msg_update_for_system_msgs:
22082207
type: boolean
2209-
x-stream-index: 001.002.028
2208+
x-stream-index: 001.002.029
22102209
typing_events:
22112210
type: boolean
22122211
x-stream-index: 001.002.002
@@ -2220,6 +2219,9 @@ components:
22202219
url_enrichment:
22212220
type: boolean
22222221
x-stream-index: 001.002.011
2222+
user_message_reminders:
2223+
type: boolean
2224+
x-stream-index: 001.002.017
22232225
required:
22242226
- created_at
22252227
- updated_at
@@ -2239,6 +2241,7 @@ components:
22392241
- reminders
22402242
- mark_messages_pending
22412243
- polls
2244+
- user_message_reminders
22422245
- message_retention
22432246
- max_message_length
22442247
- automod
@@ -2649,6 +2652,9 @@ components:
26492652
url_enrichment:
26502653
type: boolean
26512654
x-stream-index: "006"
2655+
user_message_reminders:
2656+
type: boolean
2657+
x-stream-index: "012"
26522658
required:
26532659
- grants
26542660
- commands
@@ -4206,6 +4212,9 @@ components:
42064212
type: integer
42074213
type: object
42084214
x-stream-index: "016"
4215+
reminder:
4216+
$ref: '#/components/schemas/MessageReminder'
4217+
x-stream-index: "057"
42094218
reply_count:
42104219
format: int32
42114220
type: integer
@@ -4265,6 +4274,49 @@ components:
42654274
- silent
42664275
- pinned
42674276
type: object
4277+
MessageReminder:
4278+
properties:
4279+
channel:
4280+
$ref: '#/components/schemas/Channel'
4281+
x-stream-index: "004"
4282+
channel_cid:
4283+
type: string
4284+
x-stream-index: "003"
4285+
created_at:
4286+
format: date-time
4287+
type: number
4288+
x-stream-index: "011"
4289+
message:
4290+
$ref: '#/components/schemas/Message'
4291+
x-stream-index: "006"
4292+
message_id:
4293+
type: string
4294+
x-stream-index: "005"
4295+
remind_at:
4296+
format: date-time
4297+
type: number
4298+
x-stream-index: "009"
4299+
task_id:
4300+
type: string
4301+
x-stream-index: "010"
4302+
updated_at:
4303+
format: date-time
4304+
type: number
4305+
x-stream-index: "012"
4306+
user:
4307+
$ref: '#/components/schemas/User'
4308+
x-stream-index: "008"
4309+
user_id:
4310+
type: string
4311+
x-stream-index: "007"
4312+
required:
4313+
- channel_cid
4314+
- message_id
4315+
- user_id
4316+
- task_id
4317+
- created_at
4318+
- updated_at
4319+
type: object
42684320
MessageResponse:
42694321
description: Represents any chat message
42704322
properties:
@@ -4448,6 +4500,9 @@ components:
44484500
title: Reaction scores
44494501
type: object
44504502
x-stream-index: "012"
4503+
reminder:
4504+
$ref: '#/components/schemas/ReminderResponseData'
4505+
x-stream-index: "042"
44514506
reply_count:
44524507
description: Number of replies to this message
44534508
format: int32
@@ -6046,6 +6101,45 @@ components:
60466101
$ref: '#/components/schemas/VideoOrientation'
60476102
x-stream-index: "009"
60486103
type: object
6104+
ReminderResponseData:
6105+
properties:
6106+
channel:
6107+
$ref: '#/components/schemas/ChannelResponse'
6108+
x-stream-index: "003"
6109+
channel_cid:
6110+
type: string
6111+
x-stream-index: "002"
6112+
created_at:
6113+
format: date-time
6114+
type: number
6115+
x-stream-index: "008"
6116+
message:
6117+
$ref: '#/components/schemas/Message'
6118+
x-stream-index: "005"
6119+
message_id:
6120+
type: string
6121+
x-stream-index: "004"
6122+
remind_at:
6123+
format: date-time
6124+
type: number
6125+
x-stream-index: "001"
6126+
updated_at:
6127+
format: date-time
6128+
type: number
6129+
x-stream-index: "009"
6130+
user:
6131+
$ref: '#/components/schemas/User'
6132+
x-stream-index: "007"
6133+
user_id:
6134+
type: string
6135+
x-stream-index: "006"
6136+
required:
6137+
- channel_cid
6138+
- message_id
6139+
- user_id
6140+
- created_at
6141+
- updated_at
6142+
type: object
60496143
RestoreActionRequest:
60506144
type: object
60516145
ReviewQueueItem:
@@ -7765,7 +7859,7 @@ components:
77657859
type: apiKey
77667860
info:
77677861
title: Stream API
7768-
version: v175.6.0
7862+
version: v175.9.0
77697863
openapi: 3.0.3
77707864
paths:
77717865
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)