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 #260

Merged
merged 1 commit into from
Oct 11, 2023
Merged
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
74 changes: 3 additions & 71 deletions openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3447,7 +3447,7 @@ externalDocs:
url: https://getstream.io/video/docs/
info:
title: Stream Video API
version: v89.4.0
version: v89.5.0
openapi: 3.0.3
paths:
/call/{type}/{id}:
Expand Down Expand Up @@ -3721,74 +3721,6 @@ paths:
CreateCall: To create a call
ReadCall: To retrieve a call
UpdateCallSettings: To create a call with different settings
/call/{type}/{id}/{session}/recordings:
get:
description: |
Lists recordings
Required permissions:
- ListRecordings
operationId: ListRecordings_type_id_session
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"
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/ListRecordingsResponse'
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
headers:
X-RateLimit-Limit:
description: The number of allowed requests in the current period
schema:
type: integer
X-RateLimit-Remaining:
description: The number of remaining requests in the current period
schema:
type: integer
X-RateLimit-Reset:
description: Timestamp when number of requests will be reset
schema:
type: integer
summary: List recordings (type, id, session)
x-stream-permissions:
ListRecordings: To list recordings
/call/{type}/{id}/accept:
post:
description: |2
Expand Down Expand Up @@ -4570,7 +4502,7 @@ paths:
Required permissions:
- ListRecordings
operationId: ListRecordings_type_id
operationId: ListRecordings
parameters:
- in: path
name: type
Expand Down Expand Up @@ -4620,7 +4552,7 @@ paths:
description: Timestamp when number of requests will be reset
schema:
type: integer
summary: List recordings (type, id)
summary: List recordings
x-stream-permissions:
ListRecordings: To list recordings
/call/{type}/{id}/reject:
Expand Down
74 changes: 3 additions & 71 deletions openapi/video-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3832,7 +3832,7 @@ externalDocs:
url: https://getstream.io/video/docs/
info:
title: Stream Video API
version: v89.4.0
version: v89.5.0
openapi: 3.0.3
paths:
/call/{type}/{id}:
Expand Down Expand Up @@ -4106,74 +4106,6 @@ paths:
CreateCall: To create a call
ReadCall: To retrieve a call
UpdateCallSettings: To create a call with different settings
/call/{type}/{id}/{session}/recordings:
get:
description: |
Lists recordings

Required permissions:
- ListRecordings
operationId: ListRecordings_type_id_session
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"
responses:
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/ListRecordingsResponse'
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
headers:
X-RateLimit-Limit:
description: The number of allowed requests in the current period
schema:
type: integer
X-RateLimit-Remaining:
description: The number of remaining requests in the current period
schema:
type: integer
X-RateLimit-Reset:
description: Timestamp when number of requests will be reset
schema:
type: integer
summary: List recordings (type, id, session)
x-stream-permissions:
ListRecordings: To list recordings
/call/{type}/{id}/accept:
post:
description: |2
Expand Down Expand Up @@ -4955,7 +4887,7 @@ paths:

Required permissions:
- ListRecordings
operationId: ListRecordings_type_id
operationId: ListRecordings
parameters:
- in: path
name: type
Expand Down Expand Up @@ -5005,7 +4937,7 @@ paths:
description: Timestamp when number of requests will be reset
schema:
type: integer
summary: List recordings (type, id)
summary: List recordings
x-stream-permissions:
ListRecordings: To list recordings
/call/{type}/{id}/reject:
Expand Down