Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update video openapi Spec #948

Closed
wants to merge 1 commit into from
Closed
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

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.

2 changes: 1 addition & 1 deletion openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10026,7 +10026,7 @@ components:
type: apiKey
info:
title: Stream API
version: v151.0.1
version: v152.0.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.

4 changes: 2 additions & 2 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6749,7 +6749,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: message.new
default: notification.thread_message_new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -14122,7 +14122,7 @@ components:
type: apiKey
info:
title: Stream API
version: v151.0.1
version: v152.0.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.

65 changes: 57 additions & 8 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4654,7 +4654,6 @@ components:
type: string
x-stream-index: "004"
required:
- user_session_id
- sdk
- sdk_version
- rating
Expand Down Expand Up @@ -8293,7 +8292,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: message.new
default: notification.thread_message_new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -12587,10 +12586,6 @@ components:
lower_bound:
$ref: '#/components/schemas/Bound'
x-stream-index: "002"
mean:
format: float
type: number
x-stream-index: "006"
sum:
format: float
type: number
Expand All @@ -12602,7 +12597,6 @@ components:
- category
- sum
- count
- mean
type: object
RequestPermissionRequest:
nullable: true
Expand Down Expand Up @@ -12850,6 +12844,11 @@ components:
status:
type: string
x-stream-index: "007"
teams:
items:
type: string
type: array
x-stream-index: "024"
updated_at:
format: date-time
type: number
Expand Down Expand Up @@ -17202,7 +17201,7 @@ components:
type: apiKey
info:
title: Stream API
version: v151.0.1
version: v152.0.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down Expand Up @@ -21493,6 +21492,56 @@ paths:
summary: Send custom event
tags:
- product:video
/api/v2/video/call/{type}/{id}/feedback:
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"
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
/api/v2/video/call/{type}/{id}/feedback/{session}:
post:
description: |2+
Expand Down
2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

65 changes: 57 additions & 8 deletions openapi/serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5787,7 +5787,6 @@ components:
type: string
x-stream-index: "004"
required:
- user_session_id
- sdk
- sdk_version
- rating
Expand Down Expand Up @@ -11605,7 +11604,7 @@ components:
type: array
x-stream-index: "001.002"
type:
default: message.new
default: notification.thread_message_new
type: string
x-stream-index: "004.001"
user:
Expand Down Expand Up @@ -16388,10 +16387,6 @@ components:
lower_bound:
$ref: '#/components/schemas/Bound'
x-stream-index: "002"
mean:
format: float
type: number
x-stream-index: "006"
sum:
format: float
type: number
Expand All @@ -16403,7 +16398,6 @@ components:
- category
- sum
- count
- mean
type: object
ReportResponse:
properties:
Expand Down Expand Up @@ -16654,6 +16648,11 @@ components:
status:
type: string
x-stream-index: "007"
teams:
items:
type: string
type: array
x-stream-index: "024"
updated_at:
format: date-time
type: number
Expand Down Expand Up @@ -22298,7 +22297,7 @@ components:
type: apiKey
info:
title: Stream API
version: v151.0.1
version: v152.0.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down Expand Up @@ -28961,6 +28960,56 @@ paths:
summary: Send custom event
tags:
- product:video
/api/v2/video/call/{type}/{id}/feedback:
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"
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
/api/v2/video/call/{type}/{id}/feedback/{session}:
post:
description: |2+
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.json

Large diffs are not rendered by default.

58 changes: 51 additions & 7 deletions openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2359,7 +2359,6 @@ components:
type: string
x-stream-index: "004"
required:
- user_session_id
- sdk
- sdk_version
- rating
Expand Down Expand Up @@ -4378,10 +4377,6 @@ components:
lower_bound:
$ref: '#/components/schemas/Bound'
x-stream-index: "002"
mean:
format: float
type: number
x-stream-index: "006"
sum:
format: float
type: number
Expand All @@ -4393,7 +4388,6 @@ components:
- category
- sum
- count
- mean
type: object
RequestPermissionRequest:
nullable: true
Expand Down Expand Up @@ -6165,7 +6159,7 @@ components:
type: apiKey
info:
title: Stream API
version: v151.0.1
version: v152.0.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down Expand Up @@ -6722,6 +6716,56 @@ paths:
summary: Send custom event
tags:
- product:video
/video/call/{type}/{id}/feedback:
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"
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}/feedback/{session}:
post:
description: |2+
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi.json

Large diffs are not rendered by default.

Loading