Skip to content

Commit 1ea5d47

Browse files
committed
Update video openapi Spec
1 parent 46c3cf8 commit 1ea5d47

32 files changed

+211
-249
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: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4130,7 +4130,7 @@ components:
41304130
type: array
41314131
x-stream-index: "001.002"
41324132
type:
4133-
default: notification.thread_message_new
4133+
default: message.new
41344134
type: string
41354135
x-stream-index: "004.001"
41364136
user:
@@ -4153,6 +4153,12 @@ components:
41534153
x-stream-event-doc-group: other
41544154
x-stream-is-event: true
41554155
x-stream-ws-base-event-name: VideoEvent
4156+
MessageOptions:
4157+
properties:
4158+
include_thread_participants:
4159+
type: boolean
4160+
x-stream-index: "001"
4161+
type: object
41564162
MessagePaginationParams:
41574163
type: object
41584164
MessageReadEvent:
@@ -7629,24 +7635,27 @@ components:
76297635
format: int32
76307636
title: Limit
76317637
type: integer
7632-
x-stream-index: "004"
7638+
x-stream-index: "005"
76337639
message_filter_conditions:
76347640
additionalProperties: {}
76357641
description: Message filter conditions
76367642
title: Message filter
76377643
type: object
76387644
x-stream-index: "003"
7645+
message_options:
7646+
$ref: '#/components/schemas/MessageOptions'
7647+
x-stream-index: "004"
76397648
next:
76407649
description: Pagination parameter. Cannot be used with non-zero offset.
76417650
title: Next
76427651
type: string
7643-
x-stream-index: "007"
7652+
x-stream-index: "008"
76447653
offset:
76457654
description: Pagination offset. Cannot be used with sort or next.
76467655
format: int32
76477656
title: Offset
76487657
type: integer
7649-
x-stream-index: "005"
7658+
x-stream-index: "006"
76507659
query:
76517660
description: Search phrase
76527661
title: Query
@@ -7658,7 +7667,7 @@ components:
76587667
$ref: '#/components/schemas/SortParamRequest'
76597668
title: Sort
76607669
type: array
7661-
x-stream-index: "006"
7670+
x-stream-index: "007"
76627671
required:
76637672
- filter_conditions
76647673
type: object
@@ -10369,7 +10378,7 @@ components:
1036910378
type: apiKey
1037010379
info:
1037110380
title: Stream API
10372-
version: v166.0.1
10381+
version: v167.0.1
1037310382
openapi: 3.0.3
1037410383
paths:
1037510384
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 15 additions & 6 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.users.error
460+
default: export.channels.error
461461
type: string
462462
x-stream-index: "003.002"
463463
required:
@@ -7044,6 +7044,12 @@ components:
70447044
x-stream-event-doc-group: other
70457045
x-stream-is-event: true
70467046
x-stream-ws-base-event-name: VideoEvent
7047+
MessageOptions:
7048+
properties:
7049+
include_thread_participants:
7050+
type: boolean
7051+
x-stream-index: "001"
7052+
type: object
70477053
MessagePaginationParams:
70487054
type: object
70497055
MessageReadEvent:
@@ -10771,24 +10777,27 @@ components:
1077110777
format: int32
1077210778
title: Limit
1077310779
type: integer
10774-
x-stream-index: "004"
10780+
x-stream-index: "005"
1077510781
message_filter_conditions:
1077610782
additionalProperties: {}
1077710783
description: Message filter conditions
1077810784
title: Message filter
1077910785
type: object
1078010786
x-stream-index: "003"
10787+
message_options:
10788+
$ref: '#/components/schemas/MessageOptions'
10789+
x-stream-index: "004"
1078110790
next:
1078210791
description: Pagination parameter. Cannot be used with non-zero offset.
1078310792
title: Next
1078410793
type: string
10785-
x-stream-index: "007"
10794+
x-stream-index: "008"
1078610795
offset:
1078710796
description: Pagination offset. Cannot be used with sort or next.
1078810797
format: int32
1078910798
title: Offset
1079010799
type: integer
10791-
x-stream-index: "005"
10800+
x-stream-index: "006"
1079210801
query:
1079310802
description: Search phrase
1079410803
title: Query
@@ -10800,7 +10809,7 @@ components:
1080010809
$ref: '#/components/schemas/SortParamRequest'
1080110810
title: Sort
1080210811
type: array
10803-
x-stream-index: "006"
10812+
x-stream-index: "007"
1080410813
required:
1080510814
- filter_conditions
1080610815
type: object
@@ -14536,7 +14545,7 @@ components:
1453614545
type: apiKey
1453714546
info:
1453814547
title: Stream API
14539-
version: v166.0.1
14548+
version: v167.0.1
1454014549
openapi: 3.0.3
1454114550
paths:
1454214551
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,14 +1166,6 @@ components:
11661166
- blocked_user_id
11671167
- created_at
11681168
type: object
1169-
BodyguardImageAnalysisConfig:
1170-
properties:
1171-
rules:
1172-
items:
1173-
$ref: '#/components/schemas/BodyguardRule'
1174-
type: array
1175-
x-stream-index: "001"
1176-
type: object
11771169
BodyguardRule:
11781170
properties:
11791171
action:
@@ -8804,7 +8796,7 @@ components:
88048796
type: array
88058797
x-stream-index: "001.002"
88068798
type:
8807-
default: message.new
8799+
default: notification.thread_message_new
88088800
type: string
88098801
x-stream-index: "004.001"
88108802
user:
@@ -8827,6 +8819,12 @@ components:
88278819
x-stream-event-doc-group: other
88288820
x-stream-is-event: true
88298821
x-stream-ws-base-event-name: VideoEvent
8822+
MessageOptions:
8823+
properties:
8824+
include_thread_participants:
8825+
type: boolean
8826+
x-stream-index: "001"
8827+
type: object
88308828
MessagePaginationParams:
88318829
type: object
88328830
MessageReadEvent:
@@ -13712,24 +13710,27 @@ components:
1371213710
format: int32
1371313711
title: Limit
1371413712
type: integer
13715-
x-stream-index: "004"
13713+
x-stream-index: "005"
1371613714
message_filter_conditions:
1371713715
additionalProperties: {}
1371813716
description: Message filter conditions
1371913717
title: Message filter
1372013718
type: object
1372113719
x-stream-index: "003"
13720+
message_options:
13721+
$ref: '#/components/schemas/MessageOptions'
13722+
x-stream-index: "004"
1372213723
next:
1372313724
description: Pagination parameter. Cannot be used with non-zero offset.
1372413725
title: Next
1372513726
type: string
13726-
x-stream-index: "007"
13727+
x-stream-index: "008"
1372713728
offset:
1372813729
description: Pagination offset. Cannot be used with sort or next.
1372913730
format: int32
1373013731
title: Offset
1373113732
type: integer
13732-
x-stream-index: "005"
13733+
x-stream-index: "006"
1373313734
query:
1373413735
description: Search phrase
1373513736
title: Query
@@ -13741,7 +13742,7 @@ components:
1374113742
$ref: '#/components/schemas/SortParamRequest'
1374213743
title: Sort
1374313744
type: array
13744-
x-stream-index: "006"
13745+
x-stream-index: "007"
1374513746
required:
1374613747
- filter_conditions
1374713748
type: object
@@ -16296,10 +16297,7 @@ components:
1629616297
$ref: '#/components/schemas/AIImageConfig'
1629716298
description: Configuration for AI image analysis
1629816299
title: AI Image Config
16299-
x-stream-index: "011"
16300-
ai_image_lite_config:
16301-
$ref: '#/components/schemas/BodyguardImageAnalysisConfig'
16302-
x-stream-index: "009"
16300+
x-stream-index: "010"
1630316301
ai_text_config:
1630416302
$ref: '#/components/schemas/AITextConfig'
1630516303
description: Configuration for AI text analysis
@@ -16309,7 +16307,7 @@ components:
1630916307
$ref: '#/components/schemas/AIVideoConfig'
1631016308
description: Configuration for AI video analysis
1631116309
title: AI Video Config
16312-
x-stream-index: "012"
16310+
x-stream-index: "011"
1631316311
async:
1631416312
description: Whether moderation should be performed asynchronously
1631516313
title: Async
@@ -16332,20 +16330,20 @@ components:
1633216330
x-stream-index: "004"
1633316331
aws_rekognition_config:
1633416332
$ref: '#/components/schemas/AIImageConfig'
16335-
x-stream-index: "015"
16333+
x-stream-index: "014"
1633616334
block_list_config:
1633716335
$ref: '#/components/schemas/BlockListConfig'
1633816336
description: Configuration for block list filtering
1633916337
title: Block List Config
1634016338
x-stream-index: "007"
1634116339
bodyguard_config:
1634216340
$ref: '#/components/schemas/AITextConfig'
16343-
x-stream-index: "014"
16341+
x-stream-index: "013"
1634416342
google_vision_config:
1634516343
$ref: '#/components/schemas/GoogleVisionConfig'
1634616344
description: Configuration for Google Vision integration
1634716345
title: Google Vision Config
16348-
x-stream-index: "010"
16346+
x-stream-index: "009"
1634916347
key:
1635016348
description: Unique identifier for the moderation configuration
1635116349
title: Key
@@ -16362,7 +16360,7 @@ components:
1636216360
$ref: '#/components/schemas/VelocityFilterConfig'
1636316361
description: Configuration for velocity-based filtering
1636416362
title: Velocity Filter Config
16365-
x-stream-index: "013"
16363+
x-stream-index: "012"
1636616364
required:
1636716365
- key
1636816366
type: object
@@ -18040,7 +18038,7 @@ components:
1804018038
type: apiKey
1804118039
info:
1804218040
title: Stream API
18043-
version: v166.0.1
18041+
version: v167.0.1
1804418042
openapi: 3.0.3
1804518043
paths:
1804618044
/api/v2/app:

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: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -646,14 +646,6 @@ components:
646646
- team
647647
- action
648648
type: object
649-
BodyguardImageAnalysisConfig:
650-
properties:
651-
rules:
652-
items:
653-
$ref: '#/components/schemas/BodyguardRule'
654-
type: array
655-
x-stream-index: "001"
656-
type: object
657649
BodyguardRule:
658650
properties:
659651
action:
@@ -4134,10 +4126,7 @@ components:
41344126
$ref: '#/components/schemas/AIImageConfig'
41354127
description: Configuration for AI image analysis
41364128
title: AI Image Config
4137-
x-stream-index: "011"
4138-
ai_image_lite_config:
4139-
$ref: '#/components/schemas/BodyguardImageAnalysisConfig'
4140-
x-stream-index: "009"
4129+
x-stream-index: "010"
41414130
ai_text_config:
41424131
$ref: '#/components/schemas/AITextConfig'
41434132
description: Configuration for AI text analysis
@@ -4147,7 +4136,7 @@ components:
41474136
$ref: '#/components/schemas/AIVideoConfig'
41484137
description: Configuration for AI video analysis
41494138
title: AI Video Config
4150-
x-stream-index: "012"
4139+
x-stream-index: "011"
41514140
async:
41524141
description: Whether moderation should be performed asynchronously
41534142
title: Async
@@ -4170,20 +4159,20 @@ components:
41704159
x-stream-index: "004"
41714160
aws_rekognition_config:
41724161
$ref: '#/components/schemas/AIImageConfig'
4173-
x-stream-index: "015"
4162+
x-stream-index: "014"
41744163
block_list_config:
41754164
$ref: '#/components/schemas/BlockListConfig'
41764165
description: Configuration for block list filtering
41774166
title: Block List Config
41784167
x-stream-index: "007"
41794168
bodyguard_config:
41804169
$ref: '#/components/schemas/AITextConfig'
4181-
x-stream-index: "014"
4170+
x-stream-index: "013"
41824171
google_vision_config:
41834172
$ref: '#/components/schemas/GoogleVisionConfig'
41844173
description: Configuration for Google Vision integration
41854174
title: Google Vision Config
4186-
x-stream-index: "010"
4175+
x-stream-index: "009"
41874176
key:
41884177
description: Unique identifier for the moderation configuration
41894178
title: Key
@@ -4200,7 +4189,7 @@ components:
42004189
$ref: '#/components/schemas/VelocityFilterConfig'
42014190
description: Configuration for velocity-based filtering
42024191
title: Velocity Filter Config
4203-
x-stream-index: "013"
4192+
x-stream-index: "012"
42044193
required:
42054194
- key
42064195
type: object
@@ -4637,7 +4626,7 @@ components:
46374626
type: apiKey
46384627
info:
46394628
title: Stream API
4640-
version: v166.0.1
4629+
version: v167.0.1
46414630
openapi: 3.0.3
46424631
paths:
46434632
/api/v2/moderation/ban:

openapi/moderation-serverside-api.json

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

0 commit comments

Comments
 (0)