Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.json

Large diffs are not rendered by default.

409 changes: 158 additions & 251 deletions openapi/chat-openapi-clientside.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

425 changes: 173 additions & 252 deletions openapi/chat-openapi.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

465 changes: 208 additions & 257 deletions openapi/clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.json

Large diffs are not rendered by default.

141 changes: 93 additions & 48 deletions openapi/moderation-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

295 changes: 172 additions & 123 deletions openapi/moderation-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

852 changes: 451 additions & 401 deletions openapi/serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/chat-clientside-api.json

Large diffs are not rendered by default.

427 changes: 177 additions & 250 deletions openapi/v2/chat-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/chat-serverside-api.json

Large diffs are not rendered by default.

587 changes: 259 additions & 328 deletions openapi/v2/chat-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/clientside-api.json

Large diffs are not rendered by default.

465 changes: 208 additions & 257 deletions openapi/v2/clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/feeds-clientside-api.json

Large diffs are not rendered by default.

149 changes: 97 additions & 52 deletions openapi/v2/feeds-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/feeds-serverside-api.json

Large diffs are not rendered by default.

318 changes: 185 additions & 133 deletions openapi/v2/feeds-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/moderation-clientside-api.json

Large diffs are not rendered by default.

141 changes: 93 additions & 48 deletions openapi/v2/moderation-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/moderation-serverside-api.json

Large diffs are not rendered by default.

295 changes: 172 additions & 123 deletions openapi/v2/moderation-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/serverside-api.json

Large diffs are not rendered by default.

852 changes: 451 additions & 401 deletions openapi/v2/serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/video-clientside-api.json

Large diffs are not rendered by default.

165 changes: 114 additions & 51 deletions openapi/v2/video-clientside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/video-serverside-api.json

Large diffs are not rendered by default.

251 changes: 210 additions & 41 deletions openapi/v2/video-serverside-api.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.json

Large diffs are not rendered by default.

74 changes: 60 additions & 14 deletions openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,18 @@ components:
title: The end time of the closed caption.
type: string
x-stream-index: "003"
id:
title: The ID of the closed caption.
type: string
x-stream-index: "009"
language:
title: The language of the closed caption.
type: string
x-stream-index: "007"
service:
title: The service that generated the closed caption. By default stream
type: string
x-stream-index: "006"
speaker_id:
title: The speaker ID of the closed caption.
type: string
Expand All @@ -403,16 +415,23 @@ components:
title: The text of the closed caption.
type: string
x-stream-index: "001"
translated:
title: Whether the closed caption is translated.
type: boolean
x-stream-index: "008"
user:
$ref: '#/components/schemas/UserResponse'
title: The full user for the closed caption.
title: The user who spoke the closed caption.
x-stream-index: "005"
required:
- text
- start_time
- end_time
- speaker_id
- user
- language
- translated
- id
title: CallClosedCaption
type: object
CallClosedCaptionsFailedEvent:
Expand Down Expand Up @@ -3310,20 +3329,28 @@ components:
- duration
title: EndCallResponse
type: object
FeedsEventPreferences:
FeedsPreferences:
properties:
comments:
comment:
type: string
x-stream-index: "002"
mentions:
comment_reaction:
type: string
x-stream-index: "004"
new_followers:
type: string
x-stream-index: "003"
reactions:
custom_activity_types:
additionalProperties:
type: string
type: object
x-stream-index: "006"
follow:
type: string
x-stream-index: "001"
mention:
type: string
x-stream-index: "005"
reaction:
type: string
x-stream-index: "003"
type: object
FileUploadConfig:
properties:
Expand Down Expand Up @@ -4324,6 +4351,7 @@ components:
- remove-call-member
- screenshare
- send-audio
- send-closed-captions-call
- send-video
- start-broadcast-call
- start-closed-captions-call
Expand Down Expand Up @@ -4654,12 +4682,12 @@ components:
format: date-time
type: string
x-stream-index: "005"
feeds_events:
$ref: '#/components/schemas/FeedsEventPreferences'
x-stream-index: "004"
feeds_level:
type: string
x-stream-index: "003"
feeds_preferences:
$ref: '#/components/schemas/FeedsPreferences'
x-stream-index: "004"
type: object
QualityScoreReport:
properties:
Expand Down Expand Up @@ -5440,6 +5468,17 @@ components:
type: string
x-stream-index: "001"
type: object
SpeechSegmentConfig:
properties:
max_speech_caption_ms:
format: int32
type: integer
x-stream-index: "001"
silence_duration_ms:
format: int32
type: integer
x-stream-index: "002"
type: object
StartClosedCaptionsRequest:
nullable: true
properties:
Expand Down Expand Up @@ -5498,6 +5537,9 @@ components:
title: Language
type: string
x-stream-index: "004"
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "005"
type: object
StartClosedCaptionsResponse:
nullable: true
Expand Down Expand Up @@ -5983,8 +6025,9 @@ components:
- auto-on
type: string
x-stream-index: "001"
required:
- mode
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "005"
type: object
TranscriptionSettingsResponse:
properties:
Expand Down Expand Up @@ -6043,6 +6086,9 @@ components:
- auto-on
type: string
x-stream-index: "001"
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "005"
required:
- mode
- closed_caption_mode
Expand Down Expand Up @@ -7104,7 +7150,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v193.3.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi.json

Large diffs are not rendered by default.

157 changes: 153 additions & 4 deletions openapi/video-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,18 @@ components:
title: The end time of the closed caption.
type: string
x-stream-index: "003"
id:
title: The ID of the closed caption.
type: string
x-stream-index: "009"
language:
title: The language of the closed caption.
type: string
x-stream-index: "007"
service:
title: The service that generated the closed caption. By default stream
type: string
x-stream-index: "006"
speaker_id:
title: The speaker ID of the closed caption.
type: string
Expand All @@ -621,16 +633,23 @@ components:
title: The text of the closed caption.
type: string
x-stream-index: "001"
translated:
title: Whether the closed caption is translated.
type: boolean
x-stream-index: "008"
user:
$ref: '#/components/schemas/UserResponse'
title: The full user for the closed caption.
title: The user who spoke the closed caption.
x-stream-index: "005"
required:
- text
- start_time
- end_time
- speaker_id
- user
- language
- translated
- id
title: CallClosedCaption
type: object
CallClosedCaptionsFailedEvent:
Expand Down Expand Up @@ -4750,6 +4769,7 @@ components:
- remove-call-member
- screenshare
- send-audio
- send-closed-captions-call
- send-video
- start-broadcast-call
- start-closed-captions-call
Expand Down Expand Up @@ -5784,6 +5804,60 @@ components:
- duration
title: SendCallEventResponse
type: object
SendClosedCaptionRequest:
nullable: true
properties:
end_time:
format: date-time
title: Optional end time, defaults to start_time + 1s if omitted
type: string
x-stream-index: "007"
language:
title: The language of the closed caption.
type: string
x-stream-index: "009"
service:
title: The service that generated the closed caption. By default stream
type: string
x-stream-index: "008"
speaker_id:
maxLength: 256
title: Speaker user id
type: string
x-stream-index: "005"
start_time:
format: date-time
title: Optional start time, defaults to now
type: string
x-stream-index: "006"
text:
maxLength: 32768
title: The caption text
type: string
x-stream-index: "004"
translated:
title: Whether the closed caption is translated.
type: boolean
x-stream-index: "010"
user:
$ref: '#/components/schemas/UserRequest'
x-stream-index: "003.002"
user_id:
type: string
x-stream-index: "003.001"
required:
- text
- speaker_id
type: object
SendClosedCaptionResponse:
nullable: true
properties:
duration:
type: string
x-stream-index: "001.001"
required:
- duration
type: object
SessionSettingsRequest:
properties:
inactivity_timeout_seconds:
Expand Down Expand Up @@ -5822,6 +5896,17 @@ components:
type: string
x-stream-index: "001"
type: object
SpeechSegmentConfig:
properties:
max_speech_caption_ms:
format: int32
type: integer
x-stream-index: "001"
silence_duration_ms:
format: int32
type: integer
x-stream-index: "002"
type: object
StartClosedCaptionsRequest:
nullable: true
properties:
Expand Down Expand Up @@ -5880,6 +5965,9 @@ components:
title: Language
type: string
x-stream-index: "004"
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "005"
type: object
StartClosedCaptionsResponse:
nullable: true
Expand Down Expand Up @@ -6394,8 +6482,9 @@ components:
- auto-on
type: string
x-stream-index: "001"
required:
- mode
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "005"
type: object
TranscriptionSettingsResponse:
properties:
Expand Down Expand Up @@ -6454,6 +6543,9 @@ components:
- auto-on
type: string
x-stream-index: "001"
speech_segment_config:
$ref: '#/components/schemas/SpeechSegmentConfig'
x-stream-index: "005"
required:
- mode
- closed_caption_mode
Expand Down Expand Up @@ -7736,7 +7828,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v193.3.0
openapi: 3.0.3
paths:
/video/active_calls_status:
Expand Down Expand Up @@ -8143,6 +8235,63 @@ paths:
summary: Block user on a call
tags:
- product:video
/video/call/{type}/{id}/closed_captions:
post:
description: |
Sends a closed caption event to the call

Sends events:
- call.closed_caption
operationId: SendClosedCaption
parameters:
- in: path
name: type
required: true
schema:
description: The type of call
maxLength: 64
title: Type
type: string
writeOnly: true
x-stream-index: "001.001"
- in: path
name: id
required: true
schema:
description: Call ID
maxLength: 64
title: ID
type: string
writeOnly: true
x-stream-index: "001.002"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/SendClosedCaptionRequest'
required: true
responses:
"201":
content:
application/json:
schema:
$ref: '#/components/schemas/SendClosedCaptionResponse'
description: Successful response
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Bad request
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/APIError'
description: Too many requests
summary: Send closed caption
tags:
- product:video
/video/call/{type}/{id}/delete:
post:
description: |2
Expand Down