Skip to content

Commit

Permalink
Update video openapi Spec (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbugli authored Feb 10, 2025
2 parents c8266a8 + 47089ad commit dba2378
Show file tree
Hide file tree
Showing 14 changed files with 755 additions and 461 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docusaurus/video/docusaurus/docs/api/video-openapi.json

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

149 changes: 114 additions & 35 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.

156 changes: 119 additions & 37 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.

304 changes: 188 additions & 116 deletions openapi/clientside-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.

313 changes: 194 additions & 119 deletions openapi/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.

139 changes: 66 additions & 73 deletions openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1884,31 +1884,34 @@ components:
x-stream-index: "002"
broadcasting:
$ref: '#/components/schemas/BroadcastSettingsRequest'
x-stream-index: "009"
x-stream-index: "010"
frame_recording:
$ref: '#/components/schemas/FrameRecordingSettingsRequest'
x-stream-index: "006"
geofencing:
$ref: '#/components/schemas/GeofenceSettingsRequest'
x-stream-index: "003"
limits:
$ref: '#/components/schemas/LimitsSettingsRequest'
x-stream-index: "011"
x-stream-index: "012"
recording:
$ref: '#/components/schemas/RecordSettingsRequest'
x-stream-index: "005"
ring:
$ref: '#/components/schemas/RingSettingsRequest'
x-stream-index: "006"
x-stream-index: "007"
screensharing:
$ref: '#/components/schemas/ScreensharingSettingsRequest'
x-stream-index: "007"
x-stream-index: "008"
session:
$ref: '#/components/schemas/SessionSettingsRequest'
x-stream-index: "012"
x-stream-index: "013"
thumbnails:
$ref: '#/components/schemas/ThumbnailsSettingsRequest'
x-stream-index: "010"
x-stream-index: "011"
transcription:
$ref: '#/components/schemas/TranscriptionSettingsRequest'
x-stream-index: "008"
x-stream-index: "009"
video:
$ref: '#/components/schemas/VideoSettingsRequest'
x-stream-index: "004"
Expand All @@ -1924,39 +1927,43 @@ components:
broadcasting:
$ref: '#/components/schemas/BroadcastSettingsResponse'
x-stream-index: "003"
frame_recording:
$ref: '#/components/schemas/FrameRecordingSettingsResponse'
x-stream-index: "006"
geofencing:
$ref: '#/components/schemas/GeofenceSettingsResponse'
x-stream-index: "004"
limits:
$ref: '#/components/schemas/LimitsSettingsResponse'
x-stream-index: "011"
x-stream-index: "012"
recording:
$ref: '#/components/schemas/RecordSettingsResponse'
x-stream-index: "005"
ring:
$ref: '#/components/schemas/RingSettingsResponse'
x-stream-index: "006"
x-stream-index: "007"
screensharing:
$ref: '#/components/schemas/ScreensharingSettingsResponse'
x-stream-index: "007"
x-stream-index: "008"
session:
$ref: '#/components/schemas/SessionSettingsResponse'
x-stream-index: "012"
x-stream-index: "013"
thumbnails:
$ref: '#/components/schemas/ThumbnailsSettingsResponse'
x-stream-index: "010"
x-stream-index: "011"
transcription:
$ref: '#/components/schemas/TranscriptionSettingsResponse'
x-stream-index: "008"
x-stream-index: "009"
video:
$ref: '#/components/schemas/VideoSettingsResponse'
x-stream-index: "009"
x-stream-index: "010"
required:
- audio
- backstage
- broadcasting
- geofencing
- recording
- frame_recording
- ring
- screensharing
- transcription
Expand Down Expand Up @@ -2919,6 +2926,50 @@ components:
- duration
title: EndCallResponse
type: object
FrameRecordingSettingsRequest:
properties:
capture_interval_in_seconds:
format: int32
maximum: 60
minimum: 2
type: integer
x-stream-index: "003"
mode:
enum:
- available
- disabled
- auto-on
type: string
x-stream-index: "001"
quality:
type: string
x-stream-index: "002"
required:
- mode
- capture_interval_in_seconds
type: object
FrameRecordingSettingsResponse:
properties:
capture_interval_in_seconds:
format: int32
maximum: 60
minimum: 2
type: integer
x-stream-index: "003"
mode:
enum:
- available
- disabled
- auto-on
type: string
x-stream-index: "001"
quality:
type: string
x-stream-index: "002"
required:
- mode
- capture_interval_in_seconds
type: object
GeofenceSettingsRequest:
properties:
names:
Expand Down Expand Up @@ -6199,7 +6250,7 @@ components:
type: apiKey
info:
title: Stream API
version: v153.0.0
version: v154.1.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down Expand Up @@ -6806,64 +6857,6 @@ paths:
summary: Collect user feedback
tags:
- product:video
/video/call/{type}/{id}/feedback/{session}:
post:
description: |2+
operationId: CollectUserFeedback
parameters:
- in: path
name: type
required: true
schema:
maxLength: 64
type: string
writeOnly: true
x-stream-index: "001.001"
- in: path
name: id
required: true
schema:
maxLength: 64
type: string
writeOnly: true
x-stream-index: "001.002"
- in: path
name: session
required: true
schema:
maxLength: 64
type: string
writeOnly: true
x-stream-index: "003"
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CollectUserFeedbackRequest'
required: true
responses:
"201":
content:
application/json:
schema:
$ref: '#/components/schemas/CollectUserFeedbackResponse'
description: 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: Collect user feedback
tags:
- product:video
/video/call/{type}/{id}/go_live:
post:
description: |2
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi.json

Large diffs are not rendered by default.

Loading

0 comments on commit dba2378

Please sign in to comment.