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.1.1
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.

4 changes: 2 additions & 2 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,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 @@ -16438,7 +16438,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.1.1
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.1.1
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.1.1
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.1.1
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.

215 changes: 152 additions & 63 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.bulk_image_moderation.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 @@ -14257,92 +14261,73 @@ components:
type: object
Flag:
description: Contains information about flagged user or message
nullable: true
properties:
approved_at:
description: Date of the approval
format: date-time
title: Approved at
type: number
x-stream-index: "015"
created_at:
description: Date/time of creation
format: date-time
title: Created at
type: number
x-stream-index: "019"
x-stream-index: "011"
created_by_automod:
type: boolean
x-stream-index: "004"
custom:
additionalProperties: {}
description: Additional metadata about the flag
title: Custom
type: object
x-stream-index: "014"
entity_creator_id:
description: ID of the user who created the flagged entity
title: Entity Creator ID
x-stream-index: "022"
details:
$ref: '#/components/schemas/FlagDetails'
x-stream-index: "021"
reason:
type: string
x-stream-index: "009"
entity_id:
description: Unique identifier of the entity being flagged
title: Entity ID
x-stream-index: "020"
rejected_at:
description: Date of the rejection
format: date-time
title: Rejected at
type: number
x-stream-index: "016"
reviewed_at:
description: Date of the review
format: date-time
title: Reviewed at
type: number
x-stream-index: "013"
reviewed_by:
type: string
x-stream-index: "014"
target_message:
$ref: '#/components/schemas/Message'
x-stream-index: "008"
entity_type:
description: Type of entity being flagged (e.g., message, user)
title: Entity Type
target_message_id:
description: ID of flagged message
title: Target Message ID
type: string
x-stream-index: "007"
is_streamed_content:
type: boolean
x-stream-index: "012"
labels:
description: Labels from bodyguard, API calls, our own AI etc
items:
type: string
title: Labels
type: array
x-stream-index: "015"
moderation_payload:
$ref: '#/components/schemas/ModerationPayload'
description: Content being flagged
title: Moderation Payload
target_user:
$ref: '#/components/schemas/User'
description: Flagged user
title: User
x-stream-index: "010"
moderation_payload_hash:
type: string
x-stream-index: "011"
reason:
description: Optional explanation for why the content is being flagged
title: Reason
type: string
x-stream-index: "013"
result:
description: Result of bodyguard, API calls, our own AI etc
items:
additionalProperties: {}
type: object
title: Result
type: array
x-stream-index: "016"
review_queue_item:
$ref: '#/components/schemas/ReviewQueueItem'
x-stream-index: "018"
review_queue_item_id:
description: ID of the review queue item
title: Review Queue Item ID
type: string
x-stream-index: "017"
type:
type: string
x-stream-index: "004"
updated_at:
description: Date/time of the last update
format: date-time
title: Updated at
type: number
x-stream-index: "020"
x-stream-index: "012"
user:
$ref: '#/components/schemas/User'
description: User who flagged a message or a user
title: User
x-stream-index: "006"
required:
- entity_type
- entity_id
- result
- created_by_automod
- created_at
- updated_at
title: Flag
Expand Down Expand Up @@ -20414,6 +20399,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 +26727,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 +33352,7 @@ components:
type: apiKey
info:
title: Stream API
version: v191.1.0
version: v191.1.1
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down Expand Up @@ -43629,6 +43661,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.1.1
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.

Loading