Skip to content

Commit 5d868bb

Browse files
committed
Update video openapi Spec
1 parent 98f1d0c commit 5d868bb

36 files changed

+2415
-211
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: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6113,6 +6113,11 @@ components:
61136113
blocklist_matched:
61146114
type: string
61156115
x-stream-index: "005"
6116+
blocklists_matched:
6117+
items:
6118+
type: string
6119+
type: array
6120+
x-stream-index: "006"
61166121
image_harms:
61176122
items:
61186123
type: string
@@ -6123,10 +6128,10 @@ components:
61236128
x-stream-index: "002"
61246129
platform_circumvented:
61256130
type: boolean
6126-
x-stream-index: "007"
6131+
x-stream-index: "008"
61276132
semantic_filter_matched:
61286133
type: string
6129-
x-stream-index: "006"
6134+
x-stream-index: "007"
61306135
text_harms:
61316136
items:
61326137
type: string
@@ -13571,7 +13576,7 @@ components:
1357113576
type: apiKey
1357213577
info:
1357313578
title: Stream API
13574-
version: v219.23.1
13579+
version: v219.28.1
1357513580
openapi: 3.0.3
1357613581
paths:
1357713582
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ components:
538538
type: string
539539
x-stream-index: "002.001"
540540
type:
541-
default: export.channels.error
541+
default: export.users.error
542542
type: string
543543
x-stream-index: "003.002"
544544
required:
@@ -9787,6 +9787,11 @@ components:
97879787
blocklist_matched:
97889788
type: string
97899789
x-stream-index: "005"
9790+
blocklists_matched:
9791+
items:
9792+
type: string
9793+
type: array
9794+
x-stream-index: "006"
97909795
image_harms:
97919796
items:
97929797
type: string
@@ -9797,10 +9802,10 @@ components:
97979802
x-stream-index: "002"
97989803
platform_circumvented:
97999804
type: boolean
9800-
x-stream-index: "007"
9805+
x-stream-index: "008"
98019806
semantic_filter_matched:
98029807
type: string
9803-
x-stream-index: "006"
9808+
x-stream-index: "007"
98049809
text_harms:
98059810
items:
98069811
type: string
@@ -18077,7 +18082,7 @@ components:
1807718082
type: apiKey
1807818083
info:
1807918084
title: Stream API
18080-
version: v219.23.1
18085+
version: v219.28.1
1808118086
openapi: 3.0.3
1808218087
paths:
1808318088
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 132 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,7 @@ components:
12421242
description: Tags for filtering activities
12431243
items:
12441244
type: string
1245+
maximum: 50
12451246
title: Filter Tags
12461247
type: array
12471248
x-stream-index: "014"
@@ -1883,6 +1884,7 @@ components:
18831884
description: Tags for filtering activities
18841885
items:
18851886
type: string
1887+
maximum: 50
18861888
title: Filter Tags
18871889
type: array
18881890
x-stream-index: "001.014"
@@ -3852,6 +3854,31 @@ components:
38523854
x-stream-is-event: true
38533855
x-stream-throttle-group: critical
38543856
x-stream-ws-base-event-name: VideoEvent
3857+
CallActionOptions:
3858+
properties:
3859+
duration:
3860+
format: int32
3861+
type: integer
3862+
x-stream-index: "003"
3863+
flag_reason:
3864+
type: string
3865+
x-stream-index: "006"
3866+
kick_reason:
3867+
type: string
3868+
x-stream-index: "005"
3869+
mute_audio:
3870+
type: boolean
3871+
x-stream-index: "001"
3872+
mute_video:
3873+
type: boolean
3874+
x-stream-index: "002"
3875+
reason:
3876+
type: string
3877+
x-stream-index: "004"
3878+
warning_text:
3879+
type: string
3880+
x-stream-index: "007"
3881+
type: object
38553882
CallClosedCaption:
38563883
description: CallClosedCaption represents a closed caption of a call.
38573884
properties:
@@ -4029,6 +4056,15 @@ components:
40294056
x-stream-is-event: true
40304057
x-stream-throttle-group: critical
40314058
x-stream-ws-base-event-name: VideoEvent
4059+
CallCustomPropertyParameters:
4060+
properties:
4061+
operator:
4062+
type: string
4063+
x-stream-index: "002"
4064+
property_key:
4065+
type: string
4066+
x-stream-index: "001"
4067+
type: object
40324068
CallDTMFEvent:
40334069
description: This event is sent asynchronously when a single DTMF digit is received
40344070
from a SIP participant. The event is broadcast after the digit press ends.
@@ -5573,6 +5609,21 @@ components:
55735609
x-stream-is-event: true
55745610
x-stream-throttle-group: critical
55755611
x-stream-ws-base-event-name: VideoEvent
5612+
CallRuleActionSequence:
5613+
properties:
5614+
actions:
5615+
items:
5616+
type: string
5617+
type: array
5618+
x-stream-index: "002"
5619+
call_options:
5620+
$ref: '#/components/schemas/CallActionOptions'
5621+
x-stream-index: "003"
5622+
violation_number:
5623+
format: int32
5624+
type: integer
5625+
x-stream-index: "001"
5626+
type: object
55765627
CallSessionEndedEvent:
55775628
description: This event is sent when a call session ends
55785629
properties:
@@ -6506,6 +6557,12 @@ components:
65066557
x-stream-is-event: true
65076558
x-stream-throttle-group: critical
65086559
x-stream-ws-base-event-name: VideoEvent
6560+
CallTypeRuleParameters:
6561+
properties:
6562+
call_type:
6563+
type: string
6564+
x-stream-index: "001"
6565+
type: object
65096566
CallUpdatedEvent:
65106567
description: |-
65116568
This event is sent when a call is updated, clients should use this update the local state of the call.
@@ -8349,6 +8406,23 @@ components:
83498406
x-stream-is-event: true
83508407
x-stream-throttle-group: critical
83518408
x-stream-ws-base-event-name: VideoEvent
8409+
ClosedCaptionRuleParameters:
8410+
properties:
8411+
harm_labels:
8412+
items:
8413+
type: string
8414+
type: array
8415+
x-stream-index: "001"
8416+
llm_harm_labels:
8417+
additionalProperties:
8418+
type: string
8419+
type: object
8420+
x-stream-index: "002"
8421+
threshold:
8422+
format: int32
8423+
type: integer
8424+
x-stream-index: "003"
8425+
type: object
83528426
CollectUserFeedbackRequest:
83538427
nullable: true
83548428
properties:
@@ -14747,6 +14821,22 @@ components:
1474714821
- duration
1474814822
title: JoinCallResponse
1474914823
type: object
14824+
KeyframeRuleParameters:
14825+
properties:
14826+
harm_labels:
14827+
items:
14828+
type: string
14829+
type: array
14830+
x-stream-index: "001"
14831+
min_confidence:
14832+
format: float
14833+
type: number
14834+
x-stream-index: "003"
14835+
threshold:
14836+
format: int32
14837+
type: integer
14838+
x-stream-index: "002"
14839+
type: object
1475014840
KickUserRequest:
1475114841
description: KickUserRequest is the payload for kicking a user from a call.
1475214842
Optionally block the user as well.
@@ -17576,6 +17666,11 @@ components:
1757617666
blocklist_matched:
1757717667
type: string
1757817668
x-stream-index: "005"
17669+
blocklists_matched:
17670+
items:
17671+
type: string
17672+
type: array
17673+
x-stream-index: "006"
1757917674
image_harms:
1758017675
items:
1758117676
type: string
@@ -17586,10 +17681,10 @@ components:
1758617681
x-stream-index: "002"
1758717682
platform_circumvented:
1758817683
type: boolean
17589-
x-stream-index: "007"
17684+
x-stream-index: "008"
1759017685
semantic_filter_matched:
1759117686
type: string
17592-
x-stream-index: "006"
17687+
x-stream-index: "007"
1759317688
text_harms:
1759417689
items:
1759517690
type: string
@@ -21135,13 +21230,13 @@ components:
2113521230
maximum: 100
2113621231
minimum: 0
2113721232
type: integer
21138-
x-stream-index: "004.001"
21233+
x-stream-index: "005.001"
2113921234
next:
2114021235
type: string
21141-
x-stream-index: "004.002"
21236+
x-stream-index: "005.002"
2114221237
prev:
2114321238
type: string
21144-
x-stream-index: "004.003"
21239+
x-stream-index: "005.003"
2114521240
sort:
2114621241
description: Sorting parameters for the query
2114721242
items:
@@ -24662,6 +24757,9 @@ components:
2466224757
ban_options:
2466324758
$ref: '#/components/schemas/BanOptions'
2466424759
x-stream-index: "002"
24760+
call_options:
24761+
$ref: '#/components/schemas/CallActionOptions'
24762+
x-stream-index: "004"
2466524763
flag_user_options:
2466624764
$ref: '#/components/schemas/FlagUserOptions'
2466724765
x-stream-index: "003"
@@ -24675,13 +24773,29 @@ components:
2467524773
- bounce_flag_content
2467624774
- bounce_content
2467724775
- bounce_remove_content
24776+
- mute_video
24777+
- mute_audio
24778+
- blur
24779+
- call_blur
24780+
- end_call
24781+
- kick_user
24782+
- warning
24783+
- call_warning
24784+
- webhook_only
2467824785
type: string
2467924786
x-stream-index: "001"
24680-
required:
24681-
- type
2468224787
type: object
2468324788
RuleBuilderCondition:
2468424789
properties:
24790+
call_custom_property_params:
24791+
$ref: '#/components/schemas/CallCustomPropertyParameters'
24792+
x-stream-index: "020"
24793+
call_type_rule_params:
24794+
$ref: '#/components/schemas/CallTypeRuleParameters'
24795+
x-stream-index: "019"
24796+
closed_caption_rule_params:
24797+
$ref: '#/components/schemas/ClosedCaptionRuleParameters'
24798+
x-stream-index: "018"
2468524799
confidence:
2468624800
format: float
2468724801
type: number
@@ -24698,6 +24812,9 @@ components:
2469824812
image_rule_params:
2469924813
$ref: '#/components/schemas/ImageRuleParameters'
2470024814
x-stream-index: "004"
24815+
keyframe_rule_params:
24816+
$ref: '#/components/schemas/KeyframeRuleParameters'
24817+
x-stream-index: "017"
2470124818
text_content_params:
2470224819
$ref: '#/components/schemas/TextContentParameters'
2470324820
x-stream-index: "011"
@@ -24759,14 +24876,19 @@ components:
2475924876
action:
2476024877
$ref: '#/components/schemas/RuleBuilderAction'
2476124878
x-stream-index: "006"
24879+
action_sequences:
24880+
items:
24881+
$ref: '#/components/schemas/CallRuleActionSequence'
24882+
type: array
24883+
x-stream-index: "007"
2476224884
conditions:
2476324885
items:
2476424886
$ref: '#/components/schemas/RuleBuilderCondition'
2476524887
type: array
2476624888
x-stream-index: "003"
2476724889
cooldown_period:
2476824890
type: string
24769-
x-stream-index: "007"
24891+
x-stream-index: "008"
2477024892
groups:
2477124893
items:
2477224894
$ref: '#/components/schemas/RuleBuilderConditionGroup'
@@ -24783,7 +24905,6 @@ components:
2478324905
x-stream-index: "002"
2478424906
required:
2478524907
- rule_type
24786-
- action
2478724908
type: object
2478824909
SDKUsageReport:
2478924910
properties:
@@ -28187,6 +28308,7 @@ components:
2818728308
description: Tags used for filtering the activity
2818828309
items:
2818928310
type: string
28311+
maximum: 50
2819028312
title: '[]string'
2819128313
type: array
2819228314
x-stream-index: "010"
@@ -31863,7 +31985,7 @@ components:
3186331985
type: apiKey
3186431986
info:
3186531987
title: Stream API
31866-
version: v219.23.1
31988+
version: v219.28.1
3186731989
openapi: 3.0.3
3186831990
paths:
3186931991
/api/v2/app:

openapi/moderation-clientside-api.json

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

0 commit comments

Comments
 (0)