Skip to content

Commit a0b6c3d

Browse files
committed
Update video openapi Spec
1 parent e8aaf56 commit a0b6c3d

36 files changed

+800
-164
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: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3015,17 +3015,20 @@ components:
30153015
comment_reaction:
30163016
type: string
30173017
x-stream-index: "004"
3018+
comment_reply:
3019+
type: string
3020+
x-stream-index: "005"
30183021
custom_activity_types:
30193022
additionalProperties:
30203023
type: string
30213024
type: object
3022-
x-stream-index: "006"
3025+
x-stream-index: "007"
30233026
follow:
30243027
type: string
30253028
x-stream-index: "001"
30263029
mention:
30273030
type: string
3028-
x-stream-index: "005"
3031+
x-stream-index: "006"
30293032
reaction:
30303033
type: string
30313034
x-stream-index: "003"
@@ -12117,7 +12120,7 @@ components:
1211712120
type: apiKey
1211812121
info:
1211912122
title: Stream API
12120-
version: v205.3.0
12123+
version: v205.10.2
1212112124
openapi: 3.0.3
1212212125
paths:
1212312126
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ components:
606606
type: string
607607
x-stream-index: "002.001"
608608
type:
609-
default: export.moderation_logs.error
609+
default: export.channels.error
610610
type: string
611611
x-stream-index: "003.002"
612612
required:
@@ -4943,11 +4943,11 @@ components:
49434943
properties:
49444944
callback:
49454945
$ref: '#/components/schemas/AsyncModerationCallbackConfig'
4946-
x-stream-index: 019.001.002
4946+
x-stream-index: 020.001.002
49474947
created_at:
49484948
format: date-time
49494949
type: string
4950-
x-stream-index: "020"
4950+
x-stream-index: "021"
49514951
enabled:
49524952
type: boolean
49534953
x-stream-index: "003"
@@ -4965,6 +4965,9 @@ components:
49654965
product:
49664966
type: string
49674967
x-stream-index: "018"
4968+
should_send_custom_events:
4969+
type: boolean
4970+
x-stream-index: "019"
49684971
sns_auth_type:
49694972
type: string
49704973
x-stream-index: "014"
@@ -5004,11 +5007,11 @@ components:
50045007
timeout_ms:
50055008
format: int32
50065009
type: integer
5007-
x-stream-index: 019.001.001
5010+
x-stream-index: 020.001.001
50085011
updated_at:
50095012
format: date-time
50105013
type: string
5011-
x-stream-index: "021"
5014+
x-stream-index: "022"
50125015
webhook_url:
50135016
type: string
50145017
x-stream-index: "005"
@@ -5221,17 +5224,20 @@ components:
52215224
comment_reaction:
52225225
type: string
52235226
x-stream-index: "004"
5227+
comment_reply:
5228+
type: string
5229+
x-stream-index: "005"
52245230
custom_activity_types:
52255231
additionalProperties:
52265232
type: string
52275233
type: object
5228-
x-stream-index: "006"
5234+
x-stream-index: "007"
52295235
follow:
52305236
type: string
52315237
x-stream-index: "001"
52325238
mention:
52335239
type: string
5234-
x-stream-index: "005"
5240+
x-stream-index: "006"
52355241
reaction:
52365242
type: string
52375243
x-stream-index: "003"
@@ -7947,7 +7953,7 @@ components:
79477953
type: array
79487954
x-stream-index: "001.002"
79497955
type:
7950-
default: message.new
7956+
default: notification.thread_message_new
79517957
type: string
79527958
x-stream-index: "004.001"
79537959
user:
@@ -16851,7 +16857,7 @@ components:
1685116857
type: apiKey
1685216858
info:
1685316859
title: Stream API
16854-
version: v205.3.0
16860+
version: v205.10.2
1685516861
openapi: 3.0.3
1685616862
paths:
1685716863
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 62 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4576,6 +4576,10 @@ components:
45764576
title: The filename of the recording.
45774577
type: string
45784578
x-stream-index: "001"
4579+
recording_type:
4580+
title: The type of the recording.
4581+
type: string
4582+
x-stream-index: "006"
45794583
session_id:
45804584
title: The session ID of the recording.
45814585
type: string
@@ -4595,6 +4599,7 @@ components:
45954599
- start_time
45964600
- end_time
45974601
- session_id
4602+
- recording_type
45984603
title: CallRecording
45994604
type: object
46004605
CallRecordingFailedEvent:
@@ -11170,14 +11175,22 @@ components:
1117011175
title: Comment Reaction
1117111176
type: string
1117211177
x-stream-index: "004"
11178+
comment_reply:
11179+
description: Push notification preference for replies to comments
11180+
enum:
11181+
- all
11182+
- none
11183+
title: Comment Reply
11184+
type: string
11185+
x-stream-index: "005"
1117311186
custom_activity_types:
1117411187
additionalProperties:
1117511188
type: string
1117611189
description: Push notification preferences for custom activity types. Map
1117711190
of activity type to preference (all or none)
1117811191
title: Custom Activity Types
1117911192
type: object
11180-
x-stream-index: "006"
11193+
x-stream-index: "007"
1118111194
follow:
1118211195
description: Push notification preference for new followers
1118311196
enum:
@@ -11194,7 +11207,7 @@ components:
1119411207
- none
1119511208
title: Mention
1119611209
type: string
11197-
x-stream-index: "005"
11210+
x-stream-index: "006"
1119811211
reaction:
1119911212
description: Push notification preference for reactions on user's activities
1120011213
or comments
@@ -11381,6 +11394,13 @@ components:
1138111394
required:
1138211395
- llm_labels
1138311396
type: object
11397+
FlagCountRuleParameters:
11398+
properties:
11399+
threshold:
11400+
format: int32
11401+
type: integer
11402+
x-stream-index: "001"
11403+
type: object
1138411404
FlagDetails:
1138511405
properties:
1138611406
Extra:
@@ -14554,7 +14574,7 @@ components:
1455414574
type: array
1455514575
x-stream-index: "001.002"
1455614576
type:
14557-
default: message.new
14577+
default: notification.thread_message_new
1455814578
type: string
1455914579
x-stream-index: "004.001"
1456014580
user:
@@ -16168,6 +16188,27 @@ components:
1616816188
x-stream-event-doc-group: other
1616916189
x-stream-is-event: true
1617016190
x-stream-ws-base-event-name: VideoEvent
16191+
NotificationComment:
16192+
properties:
16193+
attachments:
16194+
items:
16195+
$ref: '#/components/schemas/Attachment'
16196+
type: array
16197+
x-stream-index: "004"
16198+
comment:
16199+
type: string
16200+
x-stream-index: "003"
16201+
id:
16202+
type: string
16203+
x-stream-index: "001"
16204+
user_id:
16205+
type: string
16206+
x-stream-index: "002"
16207+
required:
16208+
- id
16209+
- user_id
16210+
- comment
16211+
type: object
1617116212
NotificationConfig:
1617216213
properties:
1617316214
deduplication_window:
@@ -16704,6 +16745,12 @@ components:
1670416745
title: Attachments
1670516746
type: array
1670616747
x-stream-index: "005"
16748+
comment:
16749+
$ref: '#/components/schemas/NotificationComment'
16750+
description: Information about the comment related to the notification (for
16751+
reactions to comments and comments on comments)
16752+
title: Comment
16753+
x-stream-index: "007"
1670716754
id:
1670816755
description: The ID of the target (activity ID or user ID)
1670916756
title: Target ID
@@ -21877,15 +21924,18 @@ components:
2187721924
content_count_rule_params:
2187821925
$ref: '#/components/schemas/ContentCountRuleParameters'
2187921926
x-stream-index: "007"
21927+
content_flag_count_rule_params:
21928+
$ref: '#/components/schemas/FlagCountRuleParameters'
21929+
x-stream-index: "009"
2188021930
image_content_params:
2188121931
$ref: '#/components/schemas/ImageContentParameters'
21882-
x-stream-index: "009"
21932+
x-stream-index: "011"
2188321933
image_rule_params:
2188421934
$ref: '#/components/schemas/ImageRuleParameters'
2188521935
x-stream-index: "004"
2188621936
text_content_params:
2188721937
$ref: '#/components/schemas/TextContentParameters'
21888-
x-stream-index: "008"
21938+
x-stream-index: "010"
2188921939
text_rule_params:
2189021940
$ref: '#/components/schemas/TextRuleParameters'
2189121941
x-stream-index: "003"
@@ -21894,16 +21944,19 @@ components:
2189421944
x-stream-index: "001"
2189521945
user_created_within_params:
2189621946
$ref: '#/components/schemas/UserCreatedWithinParameters'
21897-
x-stream-index: "011"
21947+
x-stream-index: "013"
2189821948
user_custom_property_params:
2189921949
$ref: '#/components/schemas/UserCustomPropertyParameters'
21900-
x-stream-index: "012"
21950+
x-stream-index: "014"
21951+
user_flag_count_rule_params:
21952+
$ref: '#/components/schemas/FlagCountRuleParameters'
21953+
x-stream-index: "008"
2190121954
user_rule_params:
2190221955
$ref: '#/components/schemas/UserRuleParameters'
2190321956
x-stream-index: "006"
2190421957
video_content_params:
2190521958
$ref: '#/components/schemas/VideoContentParameters'
21906-
x-stream-index: "010"
21959+
x-stream-index: "012"
2190721960
video_rule_params:
2190821961
$ref: '#/components/schemas/VideoRuleParameters'
2190921962
x-stream-index: "005"
@@ -28186,7 +28239,7 @@ components:
2818628239
type: apiKey
2818728240
info:
2818828241
title: Stream API
28189-
version: v205.3.0
28242+
version: v205.10.2
2819028243
openapi: 3.0.3
2819128244
paths:
2819228245
/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)