Skip to content

Commit f5809f9

Browse files
committed
Update video openapi Spec
1 parent d29b9ca commit f5809f9

36 files changed

+1558
-136
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
@@ -12142,7 +12142,7 @@ components:
1214212142
type: apiKey
1214312143
info:
1214412144
title: Stream API
12145-
version: v213.23.0
12145+
version: v214.1.0
1214612146
openapi: 3.0.3
1214712147
paths:
1214812148
/app:

openapi/chat-openapi.json

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

openapi/chat-openapi.yaml

Lines changed: 6 additions & 3 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.bulk_image_moderation.error
609+
default: export.moderation_logs.error
610610
type: string
611611
x-stream-index: "003.002"
612612
required:
@@ -5182,6 +5182,9 @@ components:
51825182
sns_auth_type:
51835183
type: string
51845184
x-stream-index: "014"
5185+
sns_event_based_message_group_id_enabled:
5186+
type: boolean
5187+
x-stream-index: "020.002"
51855188
sns_key:
51865189
type: string
51875190
x-stream-index: "015"
@@ -8315,7 +8318,7 @@ components:
83158318
type: array
83168319
x-stream-index: "001.002"
83178320
type:
8318-
default: message.new
8321+
default: notification.thread_message_new
83198322
type: string
83208323
x-stream-index: "004.001"
83218324
user:
@@ -17257,7 +17260,7 @@ components:
1725717260
type: apiKey
1725817261
info:
1725917262
title: Stream API
17260-
version: v213.23.0
17263+
version: v214.1.0
1726117264
openapi: 3.0.3
1726217265
paths:
1726317266
/app:

openapi/clientside-api.json

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

openapi/clientside-api.yaml

Lines changed: 194 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5888,6 +5888,10 @@ components:
58885888
format: int32
58895889
type: integer
58905890
x-stream-index: "002"
5891+
total_participant_duration:
5892+
format: int64
5893+
type: integer
5894+
x-stream-index: "007"
58915895
required:
58925896
- participants
58935897
- sessions
@@ -15172,7 +15176,7 @@ components:
1517215176
type: array
1517315177
x-stream-index: "001.002"
1517415178
type:
15175-
default: notification.thread_message_new
15179+
default: message.new
1517615180
type: string
1517715181
x-stream-index: "004.001"
1517815182
user:
@@ -18106,6 +18110,40 @@ components:
1810618110
type: object
1810718111
x-stream-index: "004"
1810818112
type: object
18113+
ParticipantSessionDetails:
18114+
properties:
18115+
duration_in_seconds:
18116+
format: int64
18117+
type: integer
18118+
x-stream-index: "007"
18119+
joined_at:
18120+
format: date-time
18121+
type: number
18122+
x-stream-index: "003"
18123+
left_at:
18124+
format: date-time
18125+
type: number
18126+
x-stream-index: "004"
18127+
publisher_type:
18128+
type: string
18129+
x-stream-index: "005"
18130+
roles:
18131+
items:
18132+
type: string
18133+
type: array
18134+
x-stream-index: "006"
18135+
user_id:
18136+
type: string
18137+
x-stream-index: "001"
18138+
user_session_id:
18139+
type: string
18140+
x-stream-index: "002"
18141+
required:
18142+
- user_id
18143+
- user_session_id
18144+
- publisher_type
18145+
- roles
18146+
type: object
1810918147
PendingMessageEvent:
1811018148
description: Pending message event for async moderation
1811118149
nullable: true
@@ -19966,6 +20004,57 @@ components:
1996620004
- duration
1996720005
title: Response
1996820006
type: object
20007+
QueryCallParticipantSessionsResponse:
20008+
description: Basic response information
20009+
nullable: true
20010+
properties:
20011+
call_id:
20012+
type: string
20013+
x-stream-index: "004"
20014+
call_session_id:
20015+
type: string
20016+
x-stream-index: "005"
20017+
call_type:
20018+
type: string
20019+
x-stream-index: "003"
20020+
duration:
20021+
description: Duration of the request in milliseconds
20022+
format: int64
20023+
title: Duration
20024+
type: integer
20025+
x-stream-index: "007"
20026+
next:
20027+
type: string
20028+
x-stream-index: "002.001"
20029+
participants_sessions:
20030+
items:
20031+
$ref: '#/components/schemas/ParticipantSessionDetails'
20032+
type: array
20033+
x-stream-index: "010"
20034+
prev:
20035+
type: string
20036+
x-stream-index: "002.002"
20037+
session:
20038+
$ref: '#/components/schemas/CallSessionResponse'
20039+
x-stream-index: "006"
20040+
total_participant_duration:
20041+
format: int64
20042+
type: integer
20043+
x-stream-index: "009"
20044+
total_participant_sessions:
20045+
format: int32
20046+
type: integer
20047+
x-stream-index: "008"
20048+
required:
20049+
- call_type
20050+
- call_id
20051+
- call_session_id
20052+
- duration
20053+
- total_participant_sessions
20054+
- total_participant_duration
20055+
- participants_sessions
20056+
title: Response
20057+
type: object
1996920058
QueryCallParticipantsRequest:
1997020059
nullable: true
1997120060
properties:
@@ -25910,10 +25999,10 @@ components:
2591025999
set:
2591126000
additionalProperties: {}
2591226001
description: 'Map of field names to new values. Supported fields: ''text'',
25913-
''attachments'', ''custom'', ''visibility'', ''restrict_replies'' (values:
25914-
''everyone'', ''people_i_follow'', ''nobody''), ''location'', ''expires_at'',
25915-
''filter_tags'', ''interest_tags'', ''poll_id'', ''feeds'', ''mentioned_user_ids''.
25916-
For custom fields, use dot-notation (e.g., ''custom.field_name'')'
26002+
''attachments'', ''custom'', ''visibility'', ''visibility_tag'', ''restrict_replies''
26003+
(values: ''everyone'', ''people_i_follow'', ''nobody''), ''location'',
26004+
''expires_at'', ''filter_tags'', ''interest_tags'', ''poll_id'', ''feeds'',
26005+
''mentioned_user_ids''. For custom fields, use dot-notation (e.g., ''custom.field_name'')'
2591726006
title: object
2591826007
type: object
2591926008
x-stream-index: "002"
@@ -25959,7 +26048,7 @@ components:
2595926048
type: string
2596026049
title: '[]string'
2596126050
type: array
25962-
x-stream-index: "011"
26051+
x-stream-index: "012"
2596326052
custom:
2596426053
additionalProperties: {}
2596526054
description: Custom data for the activity
@@ -25971,46 +26060,46 @@ components:
2597126060
format: date-time
2597226061
title: string
2597326062
type: number
25974-
x-stream-index: "008"
26063+
x-stream-index: "009"
2597526064
feeds:
2597626065
description: List of feeds the activity is present in
2597726066
items:
2597826067
type: string
2597926068
maximum: 255
2598026069
title: '[]string'
2598126070
type: array
25982-
x-stream-index: "013"
26071+
x-stream-index: "014"
2598326072
filter_tags:
2598426073
description: Tags used for filtering the activity
2598526074
items:
2598626075
type: string
2598726076
title: '[]string'
2598826077
type: array
25989-
x-stream-index: "009"
26078+
x-stream-index: "010"
2599026079
interest_tags:
2599126080
description: Tags indicating interest categories
2599226081
items:
2599326082
type: string
2599426083
title: '[]string'
2599526084
type: array
25996-
x-stream-index: "010"
26085+
x-stream-index: "011"
2599726086
location:
2599826087
$ref: '#/components/schemas/ActivityLocation'
2599926088
description: Geographic location for the activity
2600026089
title: ActivityLocation
26001-
x-stream-index: "007"
26090+
x-stream-index: "008"
2600226091
mentioned_user_ids:
2600326092
description: List of user IDs mentioned in the activity
2600426093
items:
2600526094
type: string
2600626095
title: '[]string'
2600726096
type: array
26008-
x-stream-index: "015"
26097+
x-stream-index: "016"
2600926098
poll_id:
2601026099
description: Poll ID
2601126100
title: string
2601226101
type: string
26013-
x-stream-index: "012"
26102+
x-stream-index: "013"
2601426103
restrict_replies:
2601526104
description: 'Controls who can add comments/replies to this activity. Options:
2601626105
''everyone'' (default - anyone can reply), ''people_i_follow'' (only people
@@ -26021,22 +26110,32 @@ components:
2602126110
- nobody
2602226111
title: string
2602326112
type: string
26024-
x-stream-index: "006"
26113+
x-stream-index: "007"
2602526114
skip_enrich_url:
2602626115
description: Whether to skip URL enrichment for the activity
2602726116
title: Skip URL Enrichment
2602826117
type: boolean
26029-
x-stream-index: "014"
26118+
x-stream-index: "015"
2603026119
text:
2603126120
description: The text content of the activity
2603226121
title: string
2603326122
type: string
2603426123
x-stream-index: "002"
2603526124
visibility:
2603626125
description: Visibility setting for the activity
26126+
enum:
26127+
- public
26128+
- private
26129+
- tag
2603726130
title: string
2603826131
type: string
2603926132
x-stream-index: "005"
26133+
visibility_tag:
26134+
description: If visibility is 'tag', this is the tag name and is required
26135+
maxLength: 32
26136+
title: string
26137+
type: string
26138+
x-stream-index: "006"
2604026139
type: object
2604126140
UpdateActivityResponse:
2604226141
nullable: true
@@ -29227,7 +29326,7 @@ components:
2922729326
type: apiKey
2922829327
info:
2922929328
title: Stream API
29230-
version: v213.23.0
29329+
version: v214.1.0
2923129330
openapi: 3.0.3
2923229331
paths:
2923329332
/api/v2/app:
@@ -37796,6 +37895,85 @@ paths:
3779637895
summary: Stop all RTMP broadcasts for a call
3779737896
tags:
3779837897
- product:video
37898+
/api/v2/video/call/{type}/{id}/session/{session}/participant_sessions:
37899+
get:
37900+
description: |2+
37901+
37902+
operationId: QueryCallParticipantSessions
37903+
parameters:
37904+
- in: path
37905+
name: type
37906+
required: true
37907+
schema:
37908+
maxLength: 64
37909+
type: string
37910+
writeOnly: true
37911+
x-stream-index: "003.001"
37912+
- in: path
37913+
name: id
37914+
required: true
37915+
schema:
37916+
maxLength: 64
37917+
type: string
37918+
writeOnly: true
37919+
x-stream-index: "003.002"
37920+
- in: path
37921+
name: session
37922+
required: true
37923+
schema:
37924+
type: string
37925+
writeOnly: true
37926+
x-stream-index: "004"
37927+
- in: query
37928+
name: limit
37929+
schema:
37930+
format: int32
37931+
maximum: 100
37932+
minimum: 0
37933+
type: integer
37934+
writeOnly: true
37935+
x-stream-index: "002.001"
37936+
- in: query
37937+
name: prev
37938+
schema:
37939+
type: string
37940+
writeOnly: true
37941+
x-stream-index: "002.002"
37942+
- in: query
37943+
name: next
37944+
schema:
37945+
type: string
37946+
writeOnly: true
37947+
x-stream-index: "002.003"
37948+
- in: query
37949+
name: filter_conditions
37950+
schema:
37951+
additionalProperties: {}
37952+
type: object
37953+
writeOnly: true
37954+
x-stream-index: "005"
37955+
responses:
37956+
"200":
37957+
content:
37958+
application/json:
37959+
schema:
37960+
$ref: '#/components/schemas/QueryCallParticipantSessionsResponse'
37961+
description: Response
37962+
"400":
37963+
content:
37964+
application/json:
37965+
schema:
37966+
$ref: '#/components/schemas/APIError'
37967+
description: Bad request
37968+
"429":
37969+
content:
37970+
application/json:
37971+
schema:
37972+
$ref: '#/components/schemas/APIError'
37973+
description: Too many requests
37974+
summary: Query call participant sessions
37975+
tags:
37976+
- product:video
3779937977
/api/v2/video/call/{type}/{id}/start_broadcasting:
3780037978
post:
3780137979
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
@@ -7766,7 +7766,7 @@ components:
77667766
type: apiKey
77677767
info:
77687768
title: Stream API
7769-
version: v213.23.0
7769+
version: v214.1.0
77707770
openapi: 3.0.3
77717771
paths:
77727772
/api/v2/moderation/appeal:

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9144,7 +9144,7 @@ components:
91449144
type: apiKey
91459145
info:
91469146
title: Stream API
9147-
version: v213.23.0
9147+
version: v214.1.0
91489148
openapi: 3.0.3
91499149
paths:
91509150
/api/v2/moderation/appeal:

0 commit comments

Comments
 (0)