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

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.

37 changes: 13 additions & 24 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
blocked_by_user_id:
type: string
x-stream-index: "002"
blocked_user_id:
type: string
x-stream-index: "003"
created_at:
format: date-time
type: string
x-stream-index: "004"
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: v119.0.1
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.

49 changes: 25 additions & 24 deletions openapi/chat-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,10 @@ components:
enabled:
type: boolean
x-stream-index: "001"
join_ahead_time_seconds:
format: int32
type: integer
x-stream-index: "002"
required:
- enabled
type: object
Expand Down Expand Up @@ -705,19 +709,26 @@ components:
BlockUsersResponse:
nullable: true
properties:
blocks:
items:
$ref: '#/components/schemas/UserBlock'
type: array
blocked_by_user_id:
type: string
x-stream-index: "002"
blocked_user_id:
type: string
x-stream-index: "003"
created_at:
format: date-time
type: string
x-stream-index: "004"
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 +3112,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 +10338,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 +10867,7 @@ components:
type: apiKey
info:
title: Stream API
version: v117.0.1
version: v119.0.1
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.

Loading
Loading