@@ -606,7 +606,7 @@ components:
606606 type: string
607607 x-stream-index: "002.001"
608608 type:
609- default: export.bulk_image_moderation .error
609+ default: export.moderation_logs .error
610610 type: string
611611 x-stream-index: "003.002"
612612 required:
@@ -1751,6 +1751,18 @@ components:
17511751 x-stream-event-doc-group: other
17521752 x-stream-is-event: true
17531753 x-stream-ws-base-event-name: VideoEvent
1754+ ChannelBatchMemberRequest:
1755+ nullable: true
1756+ properties:
1757+ channel_role:
1758+ type: string
1759+ x-stream-index: "002"
1760+ user_id:
1761+ type: string
1762+ x-stream-index: "001"
1763+ required:
1764+ - user_id
1765+ type: object
17541766 ChannelBatchStartedEvent:
17551767 nullable: true
17561768 properties:
@@ -1813,6 +1825,66 @@ components:
18131825 x-stream-event-doc-group: other
18141826 x-stream-is-event: true
18151827 x-stream-ws-base-event-name: VideoEvent
1828+ ChannelBatchUpdateRequest:
1829+ nullable: true
1830+ properties:
1831+ data:
1832+ $ref: '#/components/schemas/ChannelDataUpdate'
1833+ x-stream-index: "005"
1834+ filter:
1835+ additionalProperties: {}
1836+ type: object
1837+ x-stream-index: "002"
1838+ filter_tags_update:
1839+ items:
1840+ type: string
1841+ maximum: 10
1842+ type: array
1843+ x-stream-index: "004"
1844+ members:
1845+ items:
1846+ $ref: '#/components/schemas/ChannelBatchMemberRequest'
1847+ maximum: 100
1848+ type: array
1849+ x-stream-index: "003"
1850+ operation:
1851+ enum:
1852+ - addMembers
1853+ - removeMembers
1854+ - inviteMembers
1855+ - invites
1856+ - assignRoles
1857+ - addModerators
1858+ - demoteModerators
1859+ - hide
1860+ - show
1861+ - archive
1862+ - unarchive
1863+ - updateData
1864+ - addFilterTags
1865+ - removeFilterTags
1866+ type: string
1867+ x-stream-index: "001"
1868+ required:
1869+ - operation
1870+ - filter
1871+ type: object
1872+ ChannelBatchUpdateResponse:
1873+ description: Basic response information
1874+ nullable: true
1875+ properties:
1876+ duration:
1877+ description: Duration of the request in milliseconds
1878+ title: Duration
1879+ type: string
1880+ x-stream-index: "002.001"
1881+ task_id:
1882+ type: string
1883+ x-stream-index: "001"
1884+ required:
1885+ - duration
1886+ title: Response
1887+ type: object
18161888 ChannelConfig:
18171889 description: Channel configuration overrides
18181890 properties:
@@ -2068,6 +2140,31 @@ components:
20682140 x-stream-event-doc-group: other
20692141 x-stream-is-event: true
20702142 x-stream-ws-base-event-name: VideoEvent
2143+ ChannelDataUpdate:
2144+ properties:
2145+ auto_translation_enabled:
2146+ type: boolean
2147+ x-stream-index: "006"
2148+ auto_translation_language:
2149+ type: string
2150+ x-stream-index: "007"
2151+ config_overrides:
2152+ $ref: '#/components/schemas/ChannelConfig'
2153+ x-stream-index: "005"
2154+ custom:
2155+ additionalProperties: {}
2156+ type: object
2157+ x-stream-index: "003"
2158+ disabled:
2159+ type: boolean
2160+ x-stream-index: "002"
2161+ frozen:
2162+ type: boolean
2163+ x-stream-index: "001"
2164+ team:
2165+ type: string
2166+ x-stream-index: "004"
2167+ type: object
20712168 ChannelDeletedEvent:
20722169 properties:
20732170 channel:
@@ -7131,12 +7228,18 @@ components:
71317228 type: object
71327229 ImportV2TaskSettings:
71337230 properties:
7231+ mode:
7232+ type: string
7233+ x-stream-index: "002"
7234+ path:
7235+ type: string
7236+ x-stream-index: "003"
71347237 s3:
71357238 $ref: '#/components/schemas/ImportV2TaskSettingsS3'
71367239 x-stream-index: "001"
71377240 skip_references_check:
71387241 type: boolean
7139- x-stream-index: "002 "
7242+ x-stream-index: "004 "
71407243 type: object
71417244 ImportV2TaskSettingsS3:
71427245 properties:
@@ -9973,6 +10076,24 @@ components:
997310076 type: integer
997410077 x-stream-index: "002"
997510078 type: object
10079+ ParsedPredefinedFilterResponse:
10080+ properties:
10081+ filter:
10082+ additionalProperties: {}
10083+ type: object
10084+ x-stream-index: "002"
10085+ name:
10086+ type: string
10087+ x-stream-index: "001"
10088+ sort:
10089+ items:
10090+ $ref: '#/components/schemas/SortParamRequest'
10091+ type: array
10092+ x-stream-index: "003"
10093+ required:
10094+ - name
10095+ - filter
10096+ type: object
997610097 PendingMessageEvent:
997710098 description: Pending message event for async moderation
997810099 nullable: true
@@ -11259,7 +11380,13 @@ components:
1125911380 description: Duration of the request in milliseconds
1126011381 title: Duration
1126111382 type: string
11262- x-stream-index: "002.001"
11383+ x-stream-index: "003.001"
11384+ predefined_filter:
11385+ $ref: '#/components/schemas/ParsedPredefinedFilterResponse'
11386+ description: The parsed predefined filter with interpolated values, only
11387+ present when using a predefined filter
11388+ title: Predefined Filter
11389+ x-stream-index: "002"
1126311390 required:
1126411391 - channels
1126511392 - duration
@@ -17359,7 +17486,7 @@ components:
1735917486 type: apiKey
1736017487info:
1736117488 title: Stream API
17362- version: v215 .4.0
17489+ version: v218 .4.0
1736317490openapi: 3.0.3
1736417491paths:
1736517492 /app:
@@ -18902,6 +19029,49 @@ paths:
1890219029 summary: Get or create channel
1890319030 tags:
1890419031 - product:chat
19032+ /channels/batch:
19033+ put:
19034+ description: |
19035+ Update channels in batch
19036+
19037+ Sends events:
19038+ - channel.frozen
19039+ - channel.hidden
19040+ - channel.unfrozen
19041+ - channel.updated
19042+ - channel.visible
19043+ - member.added
19044+ - member.removed
19045+ - member.updated
19046+ operationId: ChannelBatchUpdate
19047+ requestBody:
19048+ content:
19049+ application/json:
19050+ schema:
19051+ $ref: '#/components/schemas/ChannelBatchUpdateRequest'
19052+ required: true
19053+ responses:
19054+ "201":
19055+ content:
19056+ application/json:
19057+ schema:
19058+ $ref: '#/components/schemas/ChannelBatchUpdateResponse'
19059+ description: Response
19060+ "400":
19061+ content:
19062+ application/json:
19063+ schema:
19064+ $ref: '#/components/schemas/APIError'
19065+ description: Bad request
19066+ "429":
19067+ content:
19068+ application/json:
19069+ schema:
19070+ $ref: '#/components/schemas/APIError'
19071+ description: Too many requests
19072+ summary: Update channels in batch
19073+ tags:
19074+ - product:chat
1890519075 /channels/delete:
1890619076 post:
1890719077 description: |
0 commit comments