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

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.

39 changes: 14 additions & 25 deletions openapi/chat-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -367,19 +367,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
x-stream-index: "002"
blocked_by_user_id:
type: string
x-stream-index: "002.005"
blocked_user_id:
type: string
x-stream-index: "002.007"
created_at:
format: date-time
type: string
x-stream-index: "002.008"
duration:
description: Duration of the request in human-readable format
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
- blocks
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -8025,24 +8032,6 @@ components:
x-stream-event-client-type: true
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
UserBlock:
nullable: true
properties:
blocked_by_user_id:
type: string
x-stream-index: "005"
blocked_user_id:
type: string
x-stream-index: "007"
created_at:
format: date-time
type: string
x-stream-index: "008"
required:
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserDeactivatedEvent:
properties:
created_at:
Expand Down Expand Up @@ -8782,7 +8771,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.4.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.

47 changes: 22 additions & 25 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -705,19 +705,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
x-stream-index: "002"
blocked_by_user_id:
type: string
x-stream-index: "002.005"
blocked_user_id:
type: string
x-stream-index: "002.007"
created_at:
format: date-time
type: string
x-stream-index: "002.008"
duration:
description: Duration of the request in human-readable format
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
- blocks
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -3101,9 +3108,17 @@ components:
nullable: true
properties:
calls:
description: |
Calls delete mode.
Affected calls are those that include exactly two members, one of whom is the user being deleted.

* null or empty string - doesn't delete any calls
* soft - marks user's calls and their related data as deleted (soft-delete)
* hard - deletes user's calls and their data completely (hard-delete)
enum:
- soft
- hard
title: Delete User's calls
type: string
x-stream-index: 001.002.004
conversations:
Expand Down Expand Up @@ -10319,24 +10334,6 @@ components:
- push_provider
- duration
type: object
UserBlock:
nullable: true
properties:
blocked_by_user_id:
type: string
x-stream-index: "005"
blocked_user_id:
type: string
x-stream-index: "007"
created_at:
format: date-time
type: string
x-stream-index: "008"
required:
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserCustomEventRequest:
properties:
custom:
Expand Down Expand Up @@ -10866,7 +10863,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.4.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.

39 changes: 14 additions & 25 deletions openapi/clientside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -469,19 +469,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
x-stream-index: "002"
blocked_by_user_id:
type: string
x-stream-index: "002.005"
blocked_user_id:
type: string
x-stream-index: "002.007"
created_at:
format: date-time
type: number
x-stream-index: "002.008"
duration:
description: Duration of the request in human-readable format
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
- blocks
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
BlockedUserEvent:
description: "This event is sent to call participants to notify when a user
Expand Down Expand Up @@ -11714,24 +11721,6 @@ components:
x-stream-event-client-type: true
x-stream-is-event: true
x-stream-ws-base-event-name: VideoEvent
UserBlock:
nullable: true
properties:
blocked_by_user_id:
type: string
x-stream-index: "005"
blocked_user_id:
type: string
x-stream-index: "007"
created_at:
format: date-time
type: number
x-stream-index: "008"
required:
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserDeactivatedEvent:
properties:
created_at:
Expand Down Expand Up @@ -12873,7 +12862,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.4.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/serverside-api.json

Large diffs are not rendered by default.

47 changes: 22 additions & 25 deletions openapi/serverside-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -796,19 +796,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
x-stream-index: "002"
blocked_by_user_id:
type: string
x-stream-index: "002.005"
blocked_user_id:
type: string
x-stream-index: "002.007"
created_at:
format: date-time
type: number
x-stream-index: "002.008"
duration:
description: Duration of the request in human-readable format
title: Duration
type: string
x-stream-index: "001.001"
required:
- duration
- blocks
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
BlockedUserResponse:
nullable: true
Expand Down Expand Up @@ -3785,9 +3792,17 @@ components:
nullable: true
properties:
calls:
description: |
Calls delete mode.
Affected calls are those that include exactly two members, one of whom is the user being deleted.

* null or empty string - doesn't delete any calls
* soft - marks user's calls and their related data as deleted (soft-delete)
* hard - deletes user's calls and their data completely (hard-delete)
enum:
- soft
- hard
title: Delete User's calls
type: string
x-stream-index: 001.002.004
conversations:
Expand Down Expand Up @@ -12535,24 +12550,6 @@ components:
- push_provider
- duration
type: object
UserBlock:
nullable: true
properties:
blocked_by_user_id:
type: string
x-stream-index: "005"
blocked_user_id:
type: string
x-stream-index: "007"
created_at:
format: date-time
type: number
x-stream-index: "008"
required:
- blocked_by_user_id
- blocked_user_id
- created_at
type: object
UserCustomEventRequest:
properties:
custom:
Expand Down Expand Up @@ -13390,7 +13387,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.4.0
openapi: 3.0.3
paths:
/api/v2/app:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/video-openapi-clientside.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5766,7 +5766,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.4.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down
2 changes: 1 addition & 1 deletion openapi/video-openapi.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openapi/video-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3377,7 +3377,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v117.4.0
openapi: 3.0.3
paths:
/video/call/{type}/{id}:
Expand Down
Loading