Skip to content

Commit

Permalink
Update video openapi Spec (#260)
Browse files Browse the repository at this point in the history
Co-authored-by: GH Action CI Stream <[email protected]>
  • Loading branch information
stream-ci-bot and stream-ci-zz authored Oct 11, 2023
1 parent b6577fa commit e01acbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 142 deletions.
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

0 comments on commit e01acbc

Please sign in to comment.