Skip to content

Commit 4633e73

Browse files
authored
Update video openapi Spec (#1055)
2 parents 3f99aa8 + 96dcade commit 4633e73

32 files changed

+161
-1886
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10378,7 +10378,7 @@ components:
1037810378
type: apiKey
1037910379
info:
1038010380
title: Stream API
10381-
version: v167.0.1
10381+
version: v167.1.0
1038210382
openapi: 3.0.3
1038310383
paths:
1038410384
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ components:
457457
type: string
458458
x-stream-index: "002.001"
459459
type:
460-
default: export.channels.error
460+
default: export.users.error
461461
type: string
462462
x-stream-index: "003.002"
463463
required:
@@ -14545,7 +14545,7 @@ components:
1454514545
type: apiKey
1454614546
info:
1454714547
title: Stream API
14548-
version: v167.0.1
14548+
version: v167.1.0
1454914549
openapi: 3.0.3
1455014550
paths:
1455114551
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8796,7 +8796,7 @@ components:
87968796
type: array
87978797
x-stream-index: "001.002"
87988798
type:
8799-
default: notification.thread_message_new
8799+
default: message.new
88008800
type: string
88018801
x-stream-index: "004.001"
88028802
user:
@@ -18038,7 +18038,7 @@ components:
1803818038
type: apiKey
1803918039
info:
1804018040
title: Stream API
18041-
version: v167.0.1
18041+
version: v167.1.0
1804218042
openapi: 3.0.3
1804318043
paths:
1804418044
/api/v2/app:
@@ -21491,7 +21491,7 @@ paths:
2149121491
/api/v2/moderation/config:
2149221492
post:
2149321493
description: |
21494-
Moderation v2 upsert configuration
21494+
Create a new moderation configuration or update an existing one. Configure settings for content filtering, AI analysis, toxicity detection, and other moderation features.
2149521495
operationId: upsert_config
2149621496
requestBody:
2149721497
content:
@@ -21518,7 +21518,7 @@ paths:
2151821518
schema:
2151921519
$ref: '#/components/schemas/APIError'
2152021520
description: Too many requests
21521-
summary: Moderation v2 upsert configuration
21521+
summary: Create or update moderation configuration
2152221522
tags:
2152321523
- product:moderation
2152421524
/api/v2/moderation/config/{key}:
@@ -21566,7 +21566,7 @@ paths:
2156621566
- product:moderation
2156721567
get:
2156821568
description: |
21569-
Moderation v2 get configuration
21569+
Retrieve a specific moderation configuration by its key and team. This configuration contains settings for various moderation features like toxicity detection, AI analysis, and filtering rules.
2157021570
operationId: get_config
2157121571
parameters:
2157221572
- in: path
@@ -21603,13 +21603,13 @@ paths:
2160321603
schema:
2160421604
$ref: '#/components/schemas/APIError'
2160521605
description: Too many requests
21606-
summary: Moderation v2 get configuration
21606+
summary: Get moderation configuration
2160721607
tags:
2160821608
- product:moderation
2160921609
/api/v2/moderation/configs:
2161021610
post:
2161121611
description: |
21612-
Query moderation configs. This is used for building a moderation dashboard.
21612+
Search and filter moderation configurations across your application. This endpoint is designed for building moderation dashboards and managing multiple configuration sets.
2161321613
operationId: query_moderation_configs
2161421614
requestBody:
2161521615
content:
@@ -21636,13 +21636,13 @@ paths:
2163621636
schema:
2163721637
$ref: '#/components/schemas/APIError'
2163821638
description: Too many requests
21639-
summary: Query moderation configs
21639+
summary: Query moderation configurations
2164021640
tags:
2164121641
- product:moderation
2164221642
/api/v2/moderation/flag:
2164321643
post:
2164421644
description: |
21645-
Moderation v2 flag
21645+
Flag any type of content (messages, users, channels, activities) for moderation review. Supports custom content types and additional metadata for flagged content.
2164621646
operationId: flag
2164721647
requestBody:
2164821648
content:
@@ -21669,7 +21669,7 @@ paths:
2166921669
schema:
2167021670
$ref: '#/components/schemas/APIError'
2167121671
description: Too many requests
21672-
summary: Moderation v2 flag
21672+
summary: Flag content for moderation
2167321673
tags:
2167421674
- product:moderation
2167521675
/api/v2/moderation/mute:
@@ -21742,7 +21742,7 @@ paths:
2174221742
/api/v2/moderation/submit_action:
2174321743
post:
2174421744
description: |
21745-
Moderation v2 submit action
21745+
Take action on flagged content, such as marking content as safe, deleting content, banning users, or executing custom moderation actions. Supports various action types with configurable parameters.
2174621746
operationId: submit_action
2174721747
requestBody:
2174821748
content:
@@ -21769,7 +21769,7 @@ paths:
2176921769
schema:
2177021770
$ref: '#/components/schemas/APIError'
2177121771
description: Too many requests
21772-
summary: Moderation v2 submit action
21772+
summary: Submit moderation action
2177321773
tags:
2177421774
- product:moderation
2177521775
/api/v2/og:

openapi/moderation-clientside-api.json

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

openapi/moderation-clientside-api.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4626,7 +4626,7 @@ components:
46264626
type: apiKey
46274627
info:
46284628
title: Stream API
4629-
version: v167.0.1
4629+
version: v167.1.0
46304630
openapi: 3.0.3
46314631
paths:
46324632
/api/v2/moderation/ban:
@@ -4665,7 +4665,7 @@ paths:
46654665
/api/v2/moderation/config:
46664666
post:
46674667
description: |
4668-
Moderation v2 upsert configuration
4668+
Create a new moderation configuration or update an existing one. Configure settings for content filtering, AI analysis, toxicity detection, and other moderation features.
46694669
operationId: upsert_config
46704670
requestBody:
46714671
content:
@@ -4692,7 +4692,7 @@ paths:
46924692
schema:
46934693
$ref: '#/components/schemas/APIError'
46944694
description: Too many requests
4695-
summary: Moderation v2 upsert configuration
4695+
summary: Create or update moderation configuration
46964696
tags:
46974697
- product:moderation
46984698
/api/v2/moderation/config/{key}:
@@ -4740,7 +4740,7 @@ paths:
47404740
- product:moderation
47414741
get:
47424742
description: |
4743-
Moderation v2 get configuration
4743+
Retrieve a specific moderation configuration by its key and team. This configuration contains settings for various moderation features like toxicity detection, AI analysis, and filtering rules.
47444744
operationId: get_config
47454745
parameters:
47464746
- in: path
@@ -4777,13 +4777,13 @@ paths:
47774777
schema:
47784778
$ref: '#/components/schemas/APIError'
47794779
description: Too many requests
4780-
summary: Moderation v2 get configuration
4780+
summary: Get moderation configuration
47814781
tags:
47824782
- product:moderation
47834783
/api/v2/moderation/configs:
47844784
post:
47854785
description: |
4786-
Query moderation configs. This is used for building a moderation dashboard.
4786+
Search and filter moderation configurations across your application. This endpoint is designed for building moderation dashboards and managing multiple configuration sets.
47874787
operationId: query_moderation_configs
47884788
requestBody:
47894789
content:
@@ -4810,13 +4810,13 @@ paths:
48104810
schema:
48114811
$ref: '#/components/schemas/APIError'
48124812
description: Too many requests
4813-
summary: Query moderation configs
4813+
summary: Query moderation configurations
48144814
tags:
48154815
- product:moderation
48164816
/api/v2/moderation/flag:
48174817
post:
48184818
description: |
4819-
Moderation v2 flag
4819+
Flag any type of content (messages, users, channels, activities) for moderation review. Supports custom content types and additional metadata for flagged content.
48204820
operationId: flag
48214821
requestBody:
48224822
content:
@@ -4843,7 +4843,7 @@ paths:
48434843
schema:
48444844
$ref: '#/components/schemas/APIError'
48454845
description: Too many requests
4846-
summary: Moderation v2 flag
4846+
summary: Flag content for moderation
48474847
tags:
48484848
- product:moderation
48494849
/api/v2/moderation/mute:
@@ -4916,7 +4916,7 @@ paths:
49164916
/api/v2/moderation/submit_action:
49174917
post:
49184918
description: |
4919-
Moderation v2 submit action
4919+
Take action on flagged content, such as marking content as safe, deleting content, banning users, or executing custom moderation actions. Supports various action types with configurable parameters.
49204920
operationId: submit_action
49214921
requestBody:
49224922
content:
@@ -4943,7 +4943,7 @@ paths:
49434943
schema:
49444944
$ref: '#/components/schemas/APIError'
49454945
description: Too many requests
4946-
summary: Moderation v2 submit action
4946+
summary: Submit moderation action
49474947
tags:
49484948
- product:moderation
49494949
security:

openapi/moderation-serverside-api.json

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

0 commit comments

Comments
 (0)