Skip to content

Commit ef198a9

Browse files
committed
Update video openapi Spec
1 parent 63e2a2f commit ef198a9

36 files changed

+160505
-78043
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: 92 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ components:
341341
- use_hook_v2
342342
- user_response_time_enabled
343343
- moderation_bulk_submit_action_enabled
344+
- moderation_llm_configurability_enabled
344345
type: object
345346
AppUpdatedEvent:
346347
description: Emitted when app settings are updated
@@ -4514,7 +4515,7 @@ components:
45144515
type: array
45154516
x-stream-index: "001.002"
45164517
type:
4517-
default: notification.thread_message_new
4518+
default: message.new
45184519
type: string
45194520
x-stream-index: "004.001"
45204521
user:
@@ -10732,6 +10733,90 @@ components:
1073210733
x-stream-event-doc-group: other
1073310734
x-stream-is-event: true
1073410735
x-stream-ws-base-event-name: VideoEvent
10736+
UserMessagesDeletedEvent:
10737+
description: This event is sent when a user's message get deleted. The event
10738+
contains information about the user whose messages got deleted.
10739+
nullable: true
10740+
properties:
10741+
channel_custom:
10742+
additionalProperties: {}
10743+
type: object
10744+
x-stream-index: 001.001.005
10745+
channel_id:
10746+
description: The ID of the channel where the target user's messages were
10747+
deleted
10748+
title: Channel ID
10749+
type: string
10750+
x-stream-index: 001.002.002
10751+
channel_member_count:
10752+
format: int32
10753+
type: integer
10754+
x-stream-index: 001.001.004
10755+
channel_type:
10756+
description: The type of the channel where the target user's messages were
10757+
deleted
10758+
title: Channel Type
10759+
type: string
10760+
x-stream-index: 001.002.001
10761+
cid:
10762+
description: The CID of the channel where the target user's messages were
10763+
deleted
10764+
title: Channel CID
10765+
type: string
10766+
x-stream-index: 001.001.001.002
10767+
created_at:
10768+
description: Date/time of creation
10769+
format: date-time
10770+
title: Created at
10771+
type: string
10772+
x-stream-index: 001.001.001.001.003
10773+
custom:
10774+
additionalProperties: {}
10775+
type: object
10776+
x-stream-index: 001.001.001.001.007
10777+
hard_delete:
10778+
description: Whether Messages were hard deleted
10779+
title: Hard Delete
10780+
type: boolean
10781+
x-stream-index: "004"
10782+
received_at:
10783+
format: date-time
10784+
type: string
10785+
x-stream-index: 001.001.001.001.004
10786+
soft_delete:
10787+
description: Whether Messages were soft deleted
10788+
title: Soft Delete
10789+
type: boolean
10790+
x-stream-index: "003"
10791+
team:
10792+
description: The team of the channel where the target user's messages were
10793+
deleted
10794+
title: Team
10795+
type: string
10796+
x-stream-index: 001.001.003
10797+
type:
10798+
default: user.messages.deleted
10799+
description: 'The type of event: "user.messages.deleted" in this case'
10800+
title: Event Type
10801+
type: string
10802+
x-stream-index: 001.001.001.001.002
10803+
user:
10804+
$ref: '#/components/schemas/UserResponseCommonFields'
10805+
description: The target user whose messages got deleted
10806+
title: User
10807+
x-stream-index: "002.001"
10808+
required:
10809+
- type
10810+
- created_at
10811+
- custom
10812+
- user
10813+
- soft_delete
10814+
title: UserMessagesDeletedEvent
10815+
type: object
10816+
x-stream-event-client-type: true
10817+
x-stream-event-doc-group: other
10818+
x-stream-is-event: true
10819+
x-stream-ws-base-event-name: VideoEvent
1073510820
UserMute:
1073610821
nullable: true
1073710822
properties:
@@ -11381,6 +11466,7 @@ components:
1138111466
reminder.created: '#/components/schemas/ReminderCreatedEvent'
1138211467
reminder.deleted: '#/components/schemas/ReminderDeletedEvent'
1138311468
reminder.updated: '#/components/schemas/ReminderUpdatedEvent'
11469+
user.messages.deleted: '#/components/schemas/UserMessagesDeletedEvent'
1138411470
user.updated: '#/components/schemas/UserUpdatedEvent'
1138511471
propertyName: type
1138611472
oneOf:
@@ -11399,6 +11485,7 @@ components:
1139911485
- $ref: '#/components/schemas/ReminderDeletedEvent'
1140011486
- $ref: '#/components/schemas/ReminderNotificationEvent'
1140111487
- $ref: '#/components/schemas/ReminderUpdatedEvent'
11488+
- $ref: '#/components/schemas/UserMessagesDeletedEvent'
1140211489
- $ref: '#/components/schemas/UserUpdatedEvent'
1140311490
WSEvent:
1140411491
description: The discriminator object for all websocket events, it maps events'
@@ -11464,6 +11551,7 @@ components:
1146411551
user.banned: '#/components/schemas/UserBannedEvent'
1146511552
user.deactivated: '#/components/schemas/UserDeactivatedEvent'
1146611553
user.deleted: '#/components/schemas/UserDeletedEvent'
11554+
user.messages.deleted: '#/components/schemas/UserMessagesDeletedEvent'
1146711555
user.muted: '#/components/schemas/UserMutedEvent'
1146811556
user.presence.changed: '#/components/schemas/UserPresenceChangedEvent'
1146911557
user.reactivated: '#/components/schemas/UserReactivatedEvent'
@@ -11532,6 +11620,7 @@ components:
1153211620
- $ref: '#/components/schemas/UserBannedEvent'
1153311621
- $ref: '#/components/schemas/UserDeactivatedEvent'
1153411622
- $ref: '#/components/schemas/UserDeletedEvent'
11623+
- $ref: '#/components/schemas/UserMessagesDeletedEvent'
1153511624
- $ref: '#/components/schemas/UserMutedEvent'
1153611625
- $ref: '#/components/schemas/UserPresenceChangedEvent'
1153711626
- $ref: '#/components/schemas/UserReactivatedEvent'
@@ -11630,7 +11719,7 @@ components:
1163011719
type: apiKey
1163111720
info:
1163211721
title: Stream API
11633-
version: v187.13.0
11722+
version: v190.0.0
1163411723
openapi: 3.0.3
1163511724
paths:
1163611725
/app:
@@ -14272,6 +14361,7 @@ paths:
1427214361
1427314362
Sends events:
1427414363
- user.banned
14364+
- user.messages.deleted
1427514365
- user.banned
1427614366
operationId: Ban
1427714367
requestBody:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 97 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ components:
338338
moderation_enabled:
339339
type: boolean
340340
x-stream-index: "041"
341+
moderation_llm_configurability_enabled:
342+
type: boolean
343+
x-stream-index: "049"
341344
moderation_multitenant_blocklist_enabled:
342345
type: boolean
343346
x-stream-index: "042"
@@ -459,6 +462,7 @@ components:
459462
- use_hook_v2
460463
- user_response_time_enabled
461464
- moderation_bulk_submit_action_enabled
465+
- moderation_llm_configurability_enabled
462466
type: object
463467
AsyncBulkImageModerationEvent:
464468
nullable: true
@@ -584,7 +588,7 @@ components:
584588
type: string
585589
x-stream-index: "002.001"
586590
type:
587-
default: export.channels.error
591+
default: export.bulk_image_moderation.error
588592
type: string
589593
x-stream-index: "003.002"
590594
required:
@@ -13710,6 +13714,10 @@ components:
1371013714
image_upload_config:
1371113715
$ref: '#/components/schemas/FileUploadConfig'
1371213716
x-stream-index: "001.029"
13717+
max_aggregated_activities_length:
13718+
format: int32
13719+
type: integer
13720+
x-stream-index: "001.049"
1371313721
migrate_permissions_to_v2:
1371413722
type: boolean
1371513723
x-stream-index: "001.035"
@@ -15212,6 +15220,90 @@ components:
1521215220
x-stream-event-doc-group: other
1521315221
x-stream-is-event: true
1521415222
x-stream-ws-base-event-name: VideoEvent
15223+
UserMessagesDeletedEvent:
15224+
description: This event is sent when a user's message get deleted. The event
15225+
contains information about the user whose messages got deleted.
15226+
nullable: true
15227+
properties:
15228+
channel_custom:
15229+
additionalProperties: {}
15230+
type: object
15231+
x-stream-index: 001.001.005
15232+
channel_id:
15233+
description: The ID of the channel where the target user's messages were
15234+
deleted
15235+
title: Channel ID
15236+
type: string
15237+
x-stream-index: 001.002.002
15238+
channel_member_count:
15239+
format: int32
15240+
type: integer
15241+
x-stream-index: 001.001.004
15242+
channel_type:
15243+
description: The type of the channel where the target user's messages were
15244+
deleted
15245+
title: Channel Type
15246+
type: string
15247+
x-stream-index: 001.002.001
15248+
cid:
15249+
description: The CID of the channel where the target user's messages were
15250+
deleted
15251+
title: Channel CID
15252+
type: string
15253+
x-stream-index: 001.001.001.002
15254+
created_at:
15255+
description: Date/time of creation
15256+
format: date-time
15257+
title: Created at
15258+
type: string
15259+
x-stream-index: 001.001.001.001.003
15260+
custom:
15261+
additionalProperties: {}
15262+
type: object
15263+
x-stream-index: 001.001.001.001.007
15264+
hard_delete:
15265+
description: Whether Messages were hard deleted
15266+
title: Hard Delete
15267+
type: boolean
15268+
x-stream-index: "004"
15269+
received_at:
15270+
format: date-time
15271+
type: string
15272+
x-stream-index: 001.001.001.001.004
15273+
soft_delete:
15274+
description: Whether Messages were soft deleted
15275+
title: Soft Delete
15276+
type: boolean
15277+
x-stream-index: "003"
15278+
team:
15279+
description: The team of the channel where the target user's messages were
15280+
deleted
15281+
title: Team
15282+
type: string
15283+
x-stream-index: 001.001.003
15284+
type:
15285+
default: user.messages.deleted
15286+
description: 'The type of event: "user.messages.deleted" in this case'
15287+
title: Event Type
15288+
type: string
15289+
x-stream-index: 001.001.001.001.002
15290+
user:
15291+
$ref: '#/components/schemas/UserResponseCommonFields'
15292+
description: The target user whose messages got deleted
15293+
title: User
15294+
x-stream-index: "002.001"
15295+
required:
15296+
- type
15297+
- created_at
15298+
- custom
15299+
- user
15300+
- soft_delete
15301+
title: UserMessagesDeletedEvent
15302+
type: object
15303+
x-stream-event-client-type: true
15304+
x-stream-event-doc-group: other
15305+
x-stream-is-event: true
15306+
x-stream-ws-base-event-name: VideoEvent
1521515307
UserMute:
1521615308
nullable: true
1521715309
properties:
@@ -16022,6 +16114,7 @@ components:
1602216114
user.deactivated: '#/components/schemas/UserDeactivatedEvent'
1602316115
user.deleted: '#/components/schemas/UserDeletedEvent'
1602416116
user.flagged: '#/components/schemas/UserFlaggedEvent'
16117+
user.messages.deleted: '#/components/schemas/UserMessagesDeletedEvent'
1602516118
user.muted: '#/components/schemas/UserMutedEvent'
1602616119
user.reactivated: '#/components/schemas/UserReactivatedEvent'
1602716120
user.unbanned: '#/components/schemas/UserUnbannedEvent'
@@ -16078,6 +16171,7 @@ components:
1607816171
- $ref: '#/components/schemas/UserDeactivatedEvent'
1607916172
- $ref: '#/components/schemas/UserDeletedEvent'
1608016173
- $ref: '#/components/schemas/UserFlaggedEvent'
16174+
- $ref: '#/components/schemas/UserMessagesDeletedEvent'
1608116175
- $ref: '#/components/schemas/UserMutedEvent'
1608216176
- $ref: '#/components/schemas/UserReactivatedEvent'
1608316177
- $ref: '#/components/schemas/UserUnbannedEvent'
@@ -16199,7 +16293,7 @@ components:
1619916293
type: apiKey
1620016294
info:
1620116295
title: Stream API
16202-
version: v187.13.0
16296+
version: v190.0.0
1620316297
openapi: 3.0.3
1620416298
paths:
1620516299
/app:
@@ -19898,6 +19992,7 @@ paths:
1989819992

1989919993
Sends events:
1990019994
- user.banned
19995+
- user.messages.deleted
1990119996
- user.banned
1990219997
operationId: Ban
1990319998
requestBody:

openapi/clientside-api.json

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

0 commit comments

Comments
 (0)