Skip to content

Commit 23d4405

Browse files
committed
Update video openapi Spec
1 parent 7bcd03f commit 23d4405

36 files changed

+733
-201
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: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,6 +1382,11 @@ components:
13821382
disabled:
13831383
type: boolean
13841384
x-stream-index: "014"
1385+
filter_tags:
1386+
items:
1387+
type: string
1388+
type: array
1389+
x-stream-index: "026"
13851390
frozen:
13861391
description: Freeze or unfreeze the channel
13871392
title: Frozen
@@ -12167,7 +12172,7 @@ components:
1216712172
type: apiKey
1216812173
info:
1216912174
title: Stream API
12170-
version: v200.1.0
12175+
version: v201.1.0
1217112176
openapi: 3.0.3
1217212177
paths:
1217312178
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ components:
606606
type: string
607607
x-stream-index: "002.001"
608608
type:
609-
default: export.channels.error
609+
default: export.users.error
610610
type: string
611611
x-stream-index: "003.002"
612612
required:
@@ -1266,12 +1266,28 @@ components:
12661266
- updated_at
12671267
- recording_external_storage
12681268
type: object
1269+
CampaignChannelMember:
1270+
nullable: true
1271+
properties:
1272+
channel_role:
1273+
type: string
1274+
x-stream-index: "002"
1275+
custom:
1276+
additionalProperties: {}
1277+
type: object
1278+
x-stream-index: "003"
1279+
user_id:
1280+
type: string
1281+
x-stream-index: "001"
1282+
required:
1283+
- user_id
1284+
type: object
12691285
CampaignChannelTemplate:
12701286
properties:
12711287
custom:
12721288
additionalProperties: {}
12731289
type: object
1274-
x-stream-index: "005"
1290+
x-stream-index: "006"
12751291
id:
12761292
type: string
12771293
x-stream-index: "002"
@@ -1281,10 +1297,16 @@ components:
12811297
maximum: 1000
12821298
type: array
12831299
x-stream-index: "003"
1300+
members_template:
1301+
items:
1302+
$ref: '#/components/schemas/CampaignChannelMember'
1303+
maximum: 1000
1304+
type: array
1305+
x-stream-index: "004"
12841306
team:
12851307
maxLength: 1000
12861308
type: string
1287-
x-stream-index: "004"
1309+
x-stream-index: "005"
12881310
type:
12891311
maxLength: 64
12901312
type: string
@@ -2200,6 +2222,11 @@ components:
22002222
disabled:
22012223
type: boolean
22022224
x-stream-index: "014"
2225+
filter_tags:
2226+
items:
2227+
type: string
2228+
type: array
2229+
x-stream-index: "026"
22032230
frozen:
22042231
description: Freeze or unfreeze the channel
22052232
title: Frozen
@@ -7850,7 +7877,7 @@ components:
78507877
type: array
78517878
x-stream-index: "001.002"
78527879
type:
7853-
default: notification.thread_message_new
7880+
default: message.new
78547881
type: string
78557882
x-stream-index: "004.001"
78567883
user:
@@ -16802,7 +16829,7 @@ components:
1680216829
type: apiKey
1680316830
info:
1680416831
title: Stream API
16805-
version: v200.1.0
16832+
version: v201.1.0
1680616833
openapi: 3.0.3
1680716834
paths:
1680816835
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 127 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1903,49 +1903,56 @@ components:
19031903
$ref: '#/components/schemas/Attachment'
19041904
title: Attachments
19051905
type: array
1906-
x-stream-index: "004"
1906+
x-stream-index: "005"
19071907
comment:
19081908
description: Text content of the comment
19091909
title: Comment
19101910
type: string
1911-
x-stream-index: "003"
1911+
x-stream-index: "004"
19121912
create_notification_activity:
19131913
description: Whether to create a notification activity for this comment
19141914
title: Create Notification Activity
19151915
type: boolean
1916-
x-stream-index: "008"
1916+
x-stream-index: "009"
19171917
custom:
19181918
additionalProperties: {}
19191919
description: Custom data for the comment
19201920
title: Custom Data
19211921
type: object
1922-
x-stream-index: "007"
1922+
x-stream-index: "008"
1923+
id:
1924+
description: Optional custom ID for the comment (max 255 characters). If
1925+
not provided, a UUID will be generated.
1926+
maxLength: 255
1927+
title: Comment ID
1928+
type: string
1929+
x-stream-index: "001"
19231930
mentioned_user_ids:
19241931
description: List of users mentioned in the reply
19251932
items:
19261933
type: string
19271934
maximum: 255
19281935
title: Mentioned User IDs
19291936
type: array
1930-
x-stream-index: "005"
1937+
x-stream-index: "006"
19311938
object_id:
19321939
description: ID of the object to comment on
19331940
title: Object ID
19341941
type: string
1935-
x-stream-index: "001"
1942+
x-stream-index: "002"
19361943
object_type:
19371944
description: Type of the object to comment on
19381945
title: Object Type
19391946
type: string
1940-
x-stream-index: "002"
1947+
x-stream-index: "003"
19411948
parent_id:
19421949
description: ID of parent comment for replies
19431950
title: Parent ID
19441951
type: string
1945-
x-stream-index: "006"
1952+
x-stream-index: "007"
19461953
skip_push:
19471954
type: boolean
1948-
x-stream-index: "009"
1955+
x-stream-index: "010"
19491956
required:
19501957
- object_id
19511958
- object_type
@@ -6640,6 +6647,11 @@ components:
66406647
disabled:
66416648
type: boolean
66426649
x-stream-index: "014"
6650+
filter_tags:
6651+
items:
6652+
type: string
6653+
type: array
6654+
x-stream-index: "026"
66436655
frozen:
66446656
description: Freeze or unfreeze the channel
66456657
title: Frozen
@@ -12255,48 +12267,44 @@ components:
1225512267
description: Client request
1225612268
nullable: true
1225712269
properties:
12258-
activity_selector_options:
12259-
additionalProperties: {}
12260-
type: object
12261-
x-stream-index: "006"
1226212270
data:
1226312271
$ref: '#/components/schemas/FeedInput'
1226412272
x-stream-index: "003"
1226512273
external_ranking:
1226612274
additionalProperties: {}
1226712275
type: object
12268-
x-stream-index: "007"
12276+
x-stream-index: "006"
1226912277
filter:
1227012278
additionalProperties: {}
1227112279
type: object
12272-
x-stream-index: "009"
12280+
x-stream-index: "008"
1227312281
followers_pagination:
1227412282
$ref: '#/components/schemas/PagerRequest'
12275-
x-stream-index: "011"
12283+
x-stream-index: "010"
1227612284
following_pagination:
1227712285
$ref: '#/components/schemas/PagerRequest'
12278-
x-stream-index: "012"
12286+
x-stream-index: "011"
1227912287
interest_weights:
1228012288
additionalProperties:
1228112289
format: float
1228212290
type: number
1228312291
type: object
12284-
x-stream-index: "008"
12292+
x-stream-index: "007"
1228512293
limit:
1228612294
format: int32
1228712295
maximum: 100
1228812296
minimum: 0
1228912297
type: integer
12290-
x-stream-index: "013.001"
12298+
x-stream-index: "012.001"
1229112299
member_pagination:
1229212300
$ref: '#/components/schemas/PagerRequest'
12293-
x-stream-index: "010"
12301+
x-stream-index: "009"
1229412302
next:
1229512303
type: string
12296-
x-stream-index: "013.002"
12304+
x-stream-index: "012.002"
1229712305
prev:
1229812306
type: string
12299-
x-stream-index: "013.003"
12307+
x-stream-index: "012.003"
1230012308
view:
1230112309
type: string
1230212310
x-stream-index: "005"
@@ -21445,6 +21453,43 @@ components:
2144521453
- actions
2144621454
- flags_count
2144721455
type: object
21456+
RingCallRequest:
21457+
nullable: true
21458+
properties:
21459+
members_ids:
21460+
description: Members that should receive the ring. If no ids are provided,
21461+
all call members who are not already in the call will receive ring notifications.
21462+
items:
21463+
type: string
21464+
maximum: 25
21465+
title: Members IDs
21466+
type: array
21467+
x-stream-index: "003"
21468+
video:
21469+
description: Indicate if call should be video
21470+
title: Video
21471+
type: boolean
21472+
x-stream-index: "004"
21473+
title: RingCallRequest
21474+
type: object
21475+
RingCallResponse:
21476+
nullable: true
21477+
properties:
21478+
duration:
21479+
type: string
21480+
x-stream-index: "001.001"
21481+
members_ids:
21482+
description: List of members ringing notification was sent to
21483+
items:
21484+
type: string
21485+
title: Members IDs
21486+
type: array
21487+
x-stream-index: "002"
21488+
required:
21489+
- duration
21490+
- members_ids
21491+
title: RingCallResponse
21492+
type: object
2144821493
RingSettingsRequest:
2144921494
properties:
2145021495
auto_cancel_timeout_ms:
@@ -27818,7 +27863,7 @@ components:
2781827863
type: apiKey
2781927864
info:
2782027865
title: Stream API
27821-
version: v200.1.0
27866+
version: v201.1.0
2782227867
openapi: 3.0.3
2782327868
paths:
2782427869
/api/v2/app:
@@ -32233,7 +32278,7 @@ paths:
3223332278
Body or URL parameter
3223432279
title: Connection ID
3223532280
type: string
32236-
x-stream-index: "015.003"
32281+
x-stream-index: "014.003"
3223732282
requestBody:
3223832283
content:
3223932284
application/json:
@@ -35812,6 +35857,64 @@ paths:
3581235857
summary: Request permission
3581335858
tags:
3581435859
- product:video
35860+
/api/v2/video/call/{type}/{id}/ring:
35861+
post:
35862+
description: |
35863+
Sends a ring notification to the provided users who are not already in the call. All users should be members of the call
35864+
35865+
Sends events:
35866+
- call.ring
35867+
operationId: RingCall
35868+
parameters:
35869+
- in: path
35870+
name: type
35871+
required: true
35872+
schema:
35873+
description: The type of call
35874+
maxLength: 64
35875+
title: Type
35876+
type: string
35877+
writeOnly: true
35878+
x-stream-index: "001.001"
35879+
- in: path
35880+
name: id
35881+
required: true
35882+
schema:
35883+
description: Call ID
35884+
maxLength: 64
35885+
title: ID
35886+
type: string
35887+
writeOnly: true
35888+
x-stream-index: "001.002"
35889+
requestBody:
35890+
content:
35891+
application/json:
35892+
schema:
35893+
$ref: '#/components/schemas/RingCallRequest'
35894+
description: RingCallRequest
35895+
required: true
35896+
responses:
35897+
"201":
35898+
content:
35899+
application/json:
35900+
schema:
35901+
$ref: '#/components/schemas/RingCallResponse'
35902+
description: RingCallResponse
35903+
"400":
35904+
content:
35905+
application/json:
35906+
schema:
35907+
$ref: '#/components/schemas/APIError'
35908+
description: Bad request
35909+
"429":
35910+
content:
35911+
application/json:
35912+
schema:
35913+
$ref: '#/components/schemas/APIError'
35914+
description: Too many requests
35915+
summary: Ring Call Users
35916+
tags:
35917+
- product:video
3581535918
/api/v2/video/call/{type}/{id}/rtmp_broadcasts:
3581635919
post:
3581735920
description: |

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7236,7 +7236,7 @@ components:
72367236
type: apiKey
72377237
info:
72387238
title: Stream API
7239-
version: v200.1.0
7239+
version: v201.1.0
72407240
openapi: 3.0.3
72417241
paths:
72427242
/api/v2/moderation/ban:

openapi/moderation-serverside-api.json

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

openapi/moderation-serverside-api.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ components:
624624
type: string
625625
x-stream-index: "002.001"
626626
type:
627-
default: export.bulk_image_moderation.error
627+
default: export.moderation_logs.error
628628
type: string
629629
x-stream-index: "003.002"
630630
required:
@@ -8488,7 +8488,7 @@ components:
84888488
type: apiKey
84898489
info:
84908490
title: Stream API
8491-
version: v200.1.0
8491+
version: v201.1.0
84928492
openapi: 3.0.3
84938493
paths:
84948494
/api/v2/moderation/ban:

0 commit comments

Comments
 (0)