Skip to content

Commit 78bd70d

Browse files
committed
Update video openapi Spec
1 parent bfb3af1 commit 78bd70d

32 files changed

+651
-101
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: 3 additions & 1 deletion
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
@@ -10525,7 +10527,7 @@ components:
1052510527
type: apiKey
1052610528
info:
1052710529
title: Stream API
10528-
version: v175.6.0
10530+
version: v176.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
@@ -521,7 +531,7 @@ components:
521531
type: string
522532
x-stream-index: "002.001"
523533
type:
524-
default: export.moderation_logs.error
534+
default: export.users.error
525535
type: string
526536
x-stream-index: "003.002"
527537
required:
@@ -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:
@@ -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: v176.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.

openapi/clientside-api.yaml

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,8 @@ components:
541541
- moderation_enabled
542542
- moderation_multitenant_blocklist_enabled
543543
- guest_user_creation_disabled
544+
- event_hooks
545+
- use_hook_v2
544546
type: object
545547
AppUpdatedEvent:
546548
description: Emitted when app settings are updated
@@ -4074,10 +4076,6 @@ components:
40744076
type: number
40754077
writeOnly: true
40764078
x-stream-index: "005"
4077-
EnableLiveInsights:
4078-
type: boolean
4079-
writeOnly: true
4080-
x-stream-index: "010"
40814079
ExternalStorage:
40824080
type: string
40834081
writeOnly: true
@@ -4109,7 +4107,6 @@ components:
41094107
- CreatedAt
41104108
- UpdatedAt
41114109
- ExternalStorage
4112-
- EnableLiveInsights
41134110
type: object
41144111
CallUpdatedEvent:
41154112
description: |-
@@ -7949,6 +7946,11 @@ components:
79497946
session_id:
79507947
type: string
79517948
x-stream-index: "002"
7949+
video_reactions:
7950+
items:
7951+
$ref: '#/components/schemas/VideoReactionsResponse'
7952+
type: array
7953+
x-stream-index: "005"
79527954
required:
79537955
- duration
79547956
- session_id
@@ -18909,6 +18911,26 @@ components:
1890918911
type: integer
1891018912
x-stream-index: "004"
1891118913
type: object
18914+
VideoReactionOverTimeResponse:
18915+
properties:
18916+
by_minute:
18917+
items:
18918+
$ref: '#/components/schemas/CountByMinuteResponse'
18919+
type: array
18920+
x-stream-index: "001"
18921+
type: object
18922+
VideoReactionsResponse:
18923+
nullable: true
18924+
properties:
18925+
count_over_time:
18926+
$ref: '#/components/schemas/VideoReactionOverTimeResponse'
18927+
x-stream-index: "002"
18928+
reaction:
18929+
type: string
18930+
x-stream-index: "001"
18931+
required:
18932+
- reaction
18933+
type: object
1891218934
VideoSettings:
1891318935
properties:
1891418936
access_request_enabled:
@@ -19367,7 +19389,7 @@ components:
1936719389
type: apiKey
1936819390
info:
1936919391
title: Stream API
19370-
version: v175.6.0
19392+
version: v176.0.0
1937119393
openapi: 3.0.3
1937219394
paths:
1937319395
/api/v2/app:

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: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,10 +1675,6 @@ components:
16751675
type: number
16761676
writeOnly: true
16771677
x-stream-index: "005"
1678-
EnableLiveInsights:
1679-
type: boolean
1680-
writeOnly: true
1681-
x-stream-index: "010"
16821678
ExternalStorage:
16831679
type: string
16841680
writeOnly: true
@@ -1710,7 +1706,6 @@ components:
17101706
- CreatedAt
17111707
- UpdatedAt
17121708
- ExternalStorage
1713-
- EnableLiveInsights
17141709
type: object
17151710
Channel:
17161711
properties:
@@ -6730,7 +6725,7 @@ components:
67306725
type: apiKey
67316726
info:
67326727
title: Stream API
6733-
version: v175.6.0
6728+
version: v176.0.0
67346729
openapi: 3.0.3
67356730
paths:
67366731
/api/v2/moderation/ban:

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: 2 additions & 7 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:
@@ -7765,7 +7760,7 @@ components:
77657760
type: apiKey
77667761
info:
77677762
title: Stream API
7768-
version: v175.6.0
7763+
version: v176.0.0
77697764
openapi: 3.0.3
77707765
paths:
77717766
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)