Skip to content

Commit 7aed250

Browse files
authored
Update video openapi Spec (#1154)
2 parents bfb3af1 + 4bb5d4f commit 7aed250

32 files changed

+1885
-109
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: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ components:
292292
- moderation_enabled
293293
- moderation_multitenant_blocklist_enabled
294294
- guest_user_creation_disabled
295+
- event_hooks
296+
- use_hook_v2
295297
type: object
296298
AppUpdatedEvent:
297299
description: Emitted when app settings are updated
@@ -4214,7 +4216,7 @@ components:
42144216
type: array
42154217
x-stream-index: "001.002"
42164218
type:
4217-
default: notification.thread_message_new
4219+
default: message.new
42184220
type: string
42194221
x-stream-index: "004.001"
42204222
user:
@@ -10525,7 +10527,7 @@ components:
1052510527
type: apiKey
1052610528
info:
1052710529
title: Stream API
10528-
version: v175.6.0
10530+
version: v178.0.0
1052910531
openapi: 3.0.3
1053010532
paths:
1053110533
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 82 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,11 @@ components:
250250
enforce_unique_usernames:
251251
type: string
252252
x-stream-index: "023"
253+
event_hooks:
254+
items:
255+
$ref: '#/components/schemas/EventHook'
256+
type: array
257+
x-stream-index: "045"
253258
file_upload_config:
254259
$ref: '#/components/schemas/FileUploadConfig'
255260
x-stream-index: "030"
@@ -345,6 +350,9 @@ components:
345350
suspended_explanation:
346351
type: string
347352
x-stream-index: "010"
353+
use_hook_v2:
354+
type: boolean
355+
x-stream-index: "046"
348356
user_search_disallowed_roles:
349357
items:
350358
type: string
@@ -396,6 +404,8 @@ components:
396404
- moderation_enabled
397405
- moderation_multitenant_blocklist_enabled
398406
- guest_user_creation_disabled
407+
- event_hooks
408+
- use_hook_v2
399409
type: object
400410
AsyncBulkImageModerationEvent:
401411
nullable: true
@@ -1157,10 +1167,6 @@ components:
11571167
type: string
11581168
writeOnly: true
11591169
x-stream-index: "005"
1160-
EnableLiveInsights:
1161-
type: boolean
1162-
writeOnly: true
1163-
x-stream-index: "010"
11641170
ExternalStorage:
11651171
type: string
11661172
writeOnly: true
@@ -1192,7 +1198,6 @@ components:
11921198
- CreatedAt
11931199
- UpdatedAt
11941200
- ExternalStorage
1195-
- EnableLiveInsights
11961201
type: object
11971202
CampaignChannelTemplate:
11981203
properties:
@@ -4469,6 +4474,71 @@ components:
44694474
- type
44704475
- description
44714476
type: object
4477+
EventHook:
4478+
nullable: true
4479+
properties:
4480+
created_at:
4481+
format: date-time
4482+
type: string
4483+
x-stream-index: "018"
4484+
enabled:
4485+
type: boolean
4486+
x-stream-index: "003"
4487+
event_types:
4488+
items:
4489+
type: string
4490+
type: array
4491+
x-stream-index: "004"
4492+
hook_type:
4493+
type: string
4494+
x-stream-index: "002"
4495+
id:
4496+
type: string
4497+
x-stream-index: "001"
4498+
sns_auth_type:
4499+
type: string
4500+
x-stream-index: "014"
4501+
sns_key:
4502+
type: string
4503+
x-stream-index: "015"
4504+
sns_region:
4505+
type: string
4506+
x-stream-index: "013"
4507+
sns_role_arn:
4508+
type: string
4509+
x-stream-index: "017"
4510+
sns_secret:
4511+
type: string
4512+
x-stream-index: "016"
4513+
sns_topic_arn:
4514+
type: string
4515+
x-stream-index: "012"
4516+
sqs_auth_type:
4517+
type: string
4518+
x-stream-index: "008"
4519+
sqs_key:
4520+
type: string
4521+
x-stream-index: "009"
4522+
sqs_queue_url:
4523+
type: string
4524+
x-stream-index: "006"
4525+
sqs_region:
4526+
type: string
4527+
x-stream-index: "007"
4528+
sqs_role_arn:
4529+
type: string
4530+
x-stream-index: "011"
4531+
sqs_secret:
4532+
type: string
4533+
x-stream-index: "010"
4534+
updated_at:
4535+
format: date-time
4536+
type: string
4537+
x-stream-index: "019"
4538+
webhook_url:
4539+
type: string
4540+
x-stream-index: "005"
4541+
type: object
44724542
EventNotificationSettings:
44734543
properties:
44744544
apns:
@@ -7134,7 +7204,7 @@ components:
71347204
type: array
71357205
x-stream-index: "001.002"
71367206
type:
7137-
default: notification.thread_message_new
7207+
default: message.new
71387208
type: string
71397209
x-stream-index: "004.001"
71407210
user:
@@ -12423,6 +12493,11 @@ components:
1242312493
- team
1242412494
type: string
1242512495
x-stream-index: "001.022"
12496+
event_hooks:
12497+
items:
12498+
$ref: '#/components/schemas/EventHook'
12499+
type: array
12500+
x-stream-index: "001.046"
1242612501
feeds_moderation_enabled:
1242712502
type: boolean
1242812503
x-stream-index: "001.042"
@@ -14839,7 +14914,7 @@ components:
1483914914
type: apiKey
1484014915
info:
1484114916
title: Stream API
14842-
version: v175.6.0
14917+
version: v178.0.0
1484314918
openapi: 3.0.3
1484414919
paths:
1484514920
/app:

openapi/clientside-api.json

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

0 commit comments

Comments
 (0)