Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

30 changes: 27 additions & 3 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4743,7 +4743,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: notification.thread_message_new
default: message.new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -6690,6 +6690,24 @@ components:
type: integer
x-stream-index: "002"
type: object
ParsedPredefinedFilterResponse:
properties:
filter:
additionalProperties: {}
type: object
x-stream-index: "002"
name:
type: string
x-stream-index: "001"
sort:
items:
$ref: '#/components/schemas/SortParamRequest'
type: array
x-stream-index: "003"
required:
- name
- filter
type: object
PendingMessageEvent:
description: Pending message event for async moderation
nullable: true
Expand Down Expand Up @@ -7795,7 +7813,13 @@ components:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "002.001"
x-stream-index: "003.001"
predefined_filter:
$ref: '#/components/schemas/ParsedPredefinedFilterResponse'
description: The parsed predefined filter with interpolated values, only
present when using a predefined filter
title: Predefined Filter
x-stream-index: "002"
required:
- channels
- duration
Expand Down Expand Up @@ -12233,7 +12257,7 @@ components:
type: apiKey
info:
title: Stream API
version: v215.4.0
version: v219.0.0
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

180 changes: 175 additions & 5 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -606,7 +606,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.bulk_image_moderation.error
default: export.moderation_logs.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -1751,6 +1751,18 @@ components:
x-stream-event-doc-group: other
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
ChannelBatchMemberRequest:
nullable: true
properties:
channel_role:
type: string
x-stream-index: "002"
user_id:
type: string
x-stream-index: "001"
required:
- user_id
type: object
ChannelBatchStartedEvent:
nullable: true
properties:
Expand Down Expand Up @@ -1813,6 +1825,66 @@ components:
x-stream-event-doc-group: other
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
ChannelBatchUpdateRequest:
nullable: true
properties:
data:
$ref: '#/components/schemas/ChannelDataUpdate'
x-stream-index: "005"
filter:
additionalProperties: {}
type: object
x-stream-index: "002"
filter_tags_update:
items:
type: string
maximum: 10
type: array
x-stream-index: "004"
members:
items:
$ref: '#/components/schemas/ChannelBatchMemberRequest'
maximum: 100
type: array
x-stream-index: "003"
operation:
enum:
- addMembers
- removeMembers
- inviteMembers
- invites
- assignRoles
- addModerators
- demoteModerators
- hide
- show
- archive
- unarchive
- updateData
- addFilterTags
- removeFilterTags
type: string
x-stream-index: "001"
required:
- operation
- filter
type: object
ChannelBatchUpdateResponse:
description: Basic response information
nullable: true
properties:
duration:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "002.001"
task_id:
type: string
x-stream-index: "001"
required:
- duration
title: Response
type: object
ChannelConfig:
description: Channel configuration overrides
properties:
Expand Down Expand Up @@ -2068,6 +2140,31 @@ components:
x-stream-event-doc-group: other
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
ChannelDataUpdate:
properties:
auto_translation_enabled:
type: boolean
x-stream-index: "006"
auto_translation_language:
type: string
x-stream-index: "007"
config_overrides:
$ref: '#/components/schemas/ChannelConfig'
x-stream-index: "005"
custom:
additionalProperties: {}
type: object
x-stream-index: "003"
disabled:
type: boolean
x-stream-index: "002"
frozen:
type: boolean
x-stream-index: "001"
team:
type: string
x-stream-index: "004"
type: object
ChannelDeletedEvent:
properties:
channel:
Expand Down Expand Up @@ -7131,12 +7228,18 @@ components:
type: object
ImportV2TaskSettings:
properties:
mode:
type: string
x-stream-index: "002"
path:
type: string
x-stream-index: "003"
s3:
$ref: '#/components/schemas/ImportV2TaskSettingsS3'
x-stream-index: "001"
skip_references_check:
type: boolean
x-stream-index: "002"
x-stream-index: "004"
type: object
ImportV2TaskSettingsS3:
properties:
Expand Down Expand Up @@ -8350,7 +8453,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: notification.thread_message_new
default: message.new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -9973,6 +10076,24 @@ components:
type: integer
x-stream-index: "002"
type: object
ParsedPredefinedFilterResponse:
properties:
filter:
additionalProperties: {}
type: object
x-stream-index: "002"
name:
type: string
x-stream-index: "001"
sort:
items:
$ref: '#/components/schemas/SortParamRequest'
type: array
x-stream-index: "003"
required:
- name
- filter
type: object
PendingMessageEvent:
description: Pending message event for async moderation
nullable: true
Expand Down Expand Up @@ -11259,7 +11380,13 @@ components:
description: Duration of the request in milliseconds
title: Duration
type: string
x-stream-index: "002.001"
x-stream-index: "003.001"
predefined_filter:
$ref: '#/components/schemas/ParsedPredefinedFilterResponse'
description: The parsed predefined filter with interpolated values, only
present when using a predefined filter
title: Predefined Filter
x-stream-index: "002"
required:
- channels
- duration
Expand Down Expand Up @@ -17359,7 +17486,7 @@ components:
type: apiKey
info:
title: Stream API
version: v215.4.0
version: v219.0.0
openapi: 3.0.3
paths:
/app:
Expand Down Expand Up @@ -18902,6 +19029,49 @@ paths:
summary: Get or create channel
tags:
- product:chat
/channels/batch:
put:
description: |
Update channels in batch

Sends events:
- channel.frozen
- channel.hidden
- channel.unfrozen
- channel.updated
- channel.visible
- member.added
- member.removed
- member.updated
operationId: ChannelBatchUpdate
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ChannelBatchUpdateRequest'
required: true
responses:
"201":
content:
application/json:
schema:
$ref: '#/components/schemas/ChannelBatchUpdateResponse'
description: Response
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Bad request
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Too many requests
summary: Update channels in batch
tags:
- product:chat
/channels/delete:
post:
description: |
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

Loading