Skip to content

Commit db6c5ce

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

32 files changed

+2219
-382
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: v189.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: 92 additions & 1 deletion
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
@@ -15212,6 +15216,90 @@ components:
1521215216
x-stream-event-doc-group: other
1521315217
x-stream-is-event: true
1521415218
x-stream-ws-base-event-name: VideoEvent
15219+
UserMessagesDeletedEvent:
15220+
description: This event is sent when a user's message get deleted. The event
15221+
contains information about the user whose messages got deleted.
15222+
nullable: true
15223+
properties:
15224+
channel_custom:
15225+
additionalProperties: {}
15226+
type: object
15227+
x-stream-index: 001.001.005
15228+
channel_id:
15229+
description: The ID of the channel where the target user's messages were
15230+
deleted
15231+
title: Channel ID
15232+
type: string
15233+
x-stream-index: 001.002.002
15234+
channel_member_count:
15235+
format: int32
15236+
type: integer
15237+
x-stream-index: 001.001.004
15238+
channel_type:
15239+
description: The type of the channel where the target user's messages were
15240+
deleted
15241+
title: Channel Type
15242+
type: string
15243+
x-stream-index: 001.002.001
15244+
cid:
15245+
description: The CID of the channel where the target user's messages were
15246+
deleted
15247+
title: Channel CID
15248+
type: string
15249+
x-stream-index: 001.001.001.002
15250+
created_at:
15251+
description: Date/time of creation
15252+
format: date-time
15253+
title: Created at
15254+
type: string
15255+
x-stream-index: 001.001.001.001.003
15256+
custom:
15257+
additionalProperties: {}
15258+
type: object
15259+
x-stream-index: 001.001.001.001.007
15260+
hard_delete:
15261+
description: Whether Messages were hard deleted
15262+
title: Hard Delete
15263+
type: boolean
15264+
x-stream-index: "004"
15265+
received_at:
15266+
format: date-time
15267+
type: string
15268+
x-stream-index: 001.001.001.001.004
15269+
soft_delete:
15270+
description: Whether Messages were soft deleted
15271+
title: Soft Delete
15272+
type: boolean
15273+
x-stream-index: "003"
15274+
team:
15275+
description: The team of the channel where the target user's messages were
15276+
deleted
15277+
title: Team
15278+
type: string
15279+
x-stream-index: 001.001.003
15280+
type:
15281+
default: user.messages.deleted
15282+
description: 'The type of event: "user.messages.deleted" in this case'
15283+
title: Event Type
15284+
type: string
15285+
x-stream-index: 001.001.001.001.002
15286+
user:
15287+
$ref: '#/components/schemas/UserResponseCommonFields'
15288+
description: The target user whose messages got deleted
15289+
title: User
15290+
x-stream-index: "002.001"
15291+
required:
15292+
- type
15293+
- created_at
15294+
- custom
15295+
- user
15296+
- soft_delete
15297+
title: UserMessagesDeletedEvent
15298+
type: object
15299+
x-stream-event-client-type: true
15300+
x-stream-event-doc-group: other
15301+
x-stream-is-event: true
15302+
x-stream-ws-base-event-name: VideoEvent
1521515303
UserMute:
1521615304
nullable: true
1521715305
properties:
@@ -16022,6 +16110,7 @@ components:
1602216110
user.deactivated: '#/components/schemas/UserDeactivatedEvent'
1602316111
user.deleted: '#/components/schemas/UserDeletedEvent'
1602416112
user.flagged: '#/components/schemas/UserFlaggedEvent'
16113+
user.messages.deleted: '#/components/schemas/UserMessagesDeletedEvent'
1602516114
user.muted: '#/components/schemas/UserMutedEvent'
1602616115
user.reactivated: '#/components/schemas/UserReactivatedEvent'
1602716116
user.unbanned: '#/components/schemas/UserUnbannedEvent'
@@ -16078,6 +16167,7 @@ components:
1607816167
- $ref: '#/components/schemas/UserDeactivatedEvent'
1607916168
- $ref: '#/components/schemas/UserDeletedEvent'
1608016169
- $ref: '#/components/schemas/UserFlaggedEvent'
16170+
- $ref: '#/components/schemas/UserMessagesDeletedEvent'
1608116171
- $ref: '#/components/schemas/UserMutedEvent'
1608216172
- $ref: '#/components/schemas/UserReactivatedEvent'
1608316173
- $ref: '#/components/schemas/UserUnbannedEvent'
@@ -16199,7 +16289,7 @@ components:
1619916289
type: apiKey
1620016290
info:
1620116291
title: Stream API
16202-
version: v187.13.0
16292+
version: v189.0.0
1620316293
openapi: 3.0.3
1620416294
paths:
1620516295
/app:
@@ -19898,6 +19988,7 @@ paths:
1989819988

1989919989
Sends events:
1990019990
- user.banned
19991+
- user.messages.deleted
1990119992
- user.banned
1990219993
operationId: Ban
1990319994
requestBody:

openapi/clientside-api.json

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

0 commit comments

Comments
 (0)