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.

2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11830,7 +11830,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/chat-openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16438,7 +16438,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/clientside-api.json

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3603,6 +3603,10 @@ components:
title: The end time of the closed caption.
type: number
x-stream-index: "003"
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 @@ -3618,7 +3622,7 @@ components:
x-stream-index: "001"
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
Expand Down Expand Up @@ -16667,6 +16671,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 @@ -27371,7 +27376,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7593,7 +7593,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/moderation-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8852,7 +8852,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

114 changes: 111 additions & 3 deletions openapi/serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.users.error
default: export.moderation_logs.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -4122,6 +4122,10 @@ components:
title: The end time of the closed caption.
type: number
x-stream-index: "003"
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 @@ -4137,7 +4141,7 @@ components:
x-stream-index: "001"
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
Expand Down Expand Up @@ -20414,6 +20418,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 @@ -26741,6 +26746,52 @@ 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: number
x-stream-index: "007"
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: number
x-stream-index: "006"
text:
maxLength: 32768
title: The caption text
type: string
x-stream-index: "004"
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
SendEventRequest:
nullable: true
properties:
Expand Down Expand Up @@ -33320,7 +33371,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down Expand Up @@ -43629,6 +43680,63 @@ paths:
summary: Block user on a call
tags:
- product:video
/api/v2/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
/api/v2/video/call/{type}/{id}/delete:
post:
description: |2
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/chat-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/chat-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16330,7 +16330,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/chat-serverside-api.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions openapi/v2/chat-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.users.error
default: export.moderation_logs.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -10405,7 +10405,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: notification.thread_message_new
default: message.new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -21233,7 +21233,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/clientside-api.json

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions openapi/v2/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3603,6 +3603,10 @@ components:
title: The end time of the closed caption.
type: number
x-stream-index: "003"
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 @@ -3618,7 +3622,7 @@ components:
x-stream-index: "001"
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
Expand Down Expand Up @@ -16667,6 +16671,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 @@ -27371,7 +27376,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/feeds-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/feeds-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15875,7 +15875,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/feeds-serverside-api.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions openapi/v2/feeds-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ components:
type: string
x-stream-index: "002.001"
type:
default: export.bulk_image_moderation.error
default: export.moderation_logs.error
type: string
x-stream-index: "003.002"
required:
Expand Down Expand Up @@ -19823,7 +19823,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/moderation-clientside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/moderation-clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7593,7 +7593,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/moderation-serverside-api.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/v2/moderation-serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8852,7 +8852,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.2.0
openapi: 3.0.3
paths:
/api/v2/moderation/ban:
Expand Down
2 changes: 1 addition & 1 deletion openapi/v2/serverside-api.json

Large diffs are not rendered by default.

Loading